/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Click2Job Brand Colors */
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #81C784;
    --accent-orange: #FF9800;
    --accent-orange-dark: #F57C00;
    
    /* Colori neutri */
    --bg-dark: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-light: #E0E0E0;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-dark: #2c3e50;
    --text-white: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-card);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

/* ===== LAYOUT PRINCIPALE ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Container più compatto per job detail */
.job-detail .container {
    max-width: 900px;
}

/* ===== JOB DETAIL PAGE STYLES ===== */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    color: #FFFFFF;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-secondary {
    background: var(--accent-orange);
    color: #FFFFFF;
}

.hero-cta {
    margin-top: 2rem;
    text-align: center;
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.job-details {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.job-grid {
    display: block;
}

.job-main {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.job-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.job-description {
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1rem;
    white-space: pre-line;
    font-family: inherit;
    max-height: none;
    overflow: visible;
}

.job-description p {
    margin-bottom: 1rem;
}

.job-description ul,
.job-description ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.job-description li {
    margin-bottom: 0.5rem;
}

.job-description strong {
    font-weight: 600;
    color: var(--text-dark);
}

.job-description h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
}

.job-description h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.25rem 0 0.75rem 0;
}

/* Limit spacing between paragraphs */
.job-description {
    line-height: 1.6;
}

.job-description p + p {
    margin-top: 1rem;
}

.job-description h3 + p,
.job-description h4 + p {
    margin-top: 0.5rem;
}

.job-list {
    list-style: none;
    padding: 0;
}

.job-list li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.5rem;
}

.job-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.job-details-grid {
    display: grid;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-light);
}

.detail-label {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value {
    color: var(--text-secondary);
    font-weight: 500;
}

.job-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #FFFFFF;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 2rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Sidebar styles removed - using simplified layout */

/* ===== HEADER ===== */
.header {
    background-color: var(--bg-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    height: 40px;
    width: auto;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Navbar classes removed - using header-menu instead */

.nav-link {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(16, 185, 129, 0.1);
}

.btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.3);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--bg-light);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== SEARCH FORM ===== */
.search-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: var(--spacing-lg);
    align-items: end;
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    justify-content: flex-end;
}

.search-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.search-input {
    padding: 1rem 1.25rem !important;
    border: 1px solid var(--bg-light) !important;
    border-radius: var(--radius-md) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
    cursor: text !important;
    z-index: 10 !important;
    position: relative !important;
    height: 52px !important;
    line-height: 1.5 !important;
}

.search-input:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}



.search-input::placeholder {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.search-input:focus::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.search-btn {
    padding: 1rem 1.5rem !important;
    background: var(--accent-orange) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--spacing-xs) !important;
    text-decoration: none !important;
    height: 52px !important;
    min-width: 140px !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

.search-btn:hover {
    background: var(--accent-orange-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.3) !important;
}

/* ===== JOB LISTINGS ===== */
.job-listings {
    padding: var(--spacing-2xl) 0;
}

.job-listings-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.job-listings-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.job-listings-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.job-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-light);
    min-width: 120px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== JOB CARDS ===== */
.job-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.job-card:hover::before {
    transform: scaleY(1);
}

.job-header {
    margin-bottom: var(--spacing-md);
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.job-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--bg-light);
}

.job-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.job-tag {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-apply {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-apply:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== LOAD MORE SECTION ===== */
.load-more {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.load-more-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    min-width: 200px;
}

.load-more-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    border-color: var(--text-muted);
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== GLOBAL LINK STYLES ===== */
a, a:link, a:visited, a:active {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Override specific link styles */
.nav a, .breadcrumbs a, .footer-links a, .category-jobs {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.nav a:hover, .breadcrumbs a:hover, .footer-links a:hover, .category-jobs:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Force override for all links - ULTRA AGGRESSIVE */
a, a:link, a:visited, a:active, a:focus {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Specific overrides for common link classes */
.nav a, .breadcrumbs a, .footer-links a, .category-jobs, .job-title-link {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.nav a:hover, .breadcrumbs a:hover, .footer-links a:hover, .category-jobs:hover, .job-title-link:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* ULTIMATE OVERRIDE - Force all links to be dark */
* a, * a:link, * a:visited, * a:active, * a:focus {
    color: #333 !important;
    text-decoration: none !important;
}

* a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* OVERRIDE ALL SPECIFIC LINK STYLES */
.breadcrumbs a, .nav a, .footer-links a, .logo h1 a, .language-dropdown a {
    color: #333 !important;
    text-decoration: none !important;
}

.breadcrumbs a:hover, .nav a:hover, .footer-links a:hover, .logo h1 a:hover, .language-dropdown a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* NUCLEAR OPTION - Reset all link colors */
a, a:link, a:visited, a:active, a:focus, a:hover {
    color: #333 !important;
    text-decoration: none !important;
}

a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Override specifico per i job cards - FORZA NERO */
.job-feed-card a, .job-feed-card a:link, .job-feed-card a:visited, .job-feed-card a:active, .job-feed-card a:focus {
    color: #333333 !important;
    text-decoration: none !important;
}

.job-feed-card a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Force override for all elements */
html a, body a, div a, span a, p a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #333 !important;
    text-decoration: none !important;
}

html a:hover, body a:hover, div a:hover, span a:hover, p a:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* ===== CATEGORY FILTER ===== */
.category-indicator {
    margin-bottom: var(--spacing-xl);
}

.category-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--primary-color);
}

.category-banner h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.category-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

/* ===== JOB TITLE LINKS ===== */
.job-title-link {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.job-title-link:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Override specifico per i link dei titoli job nel feed */
.job-feed-card-title a,
.job-feed-card-title .job-title-link {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.job-feed-card-title a:hover,
.job-feed-card-title .job-title-link:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Override per tutti i link nei job cards */
.job-feed-card a,
.job-card a {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.job-feed-card a:hover,
.job-card a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Override NUCLEARE per i titoli dei job - FORZA il colore NERO */
.job-feed-card-title a,
.job-feed-card-title a:link,
.job-feed-card-title a:visited,
.job-feed-card-title a:active,
.job-feed-card-title a:focus {
    color: #333333 !important;
    text-decoration: none !important;
}

.job-feed-card-title a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Override per tutti i link nei job feed */
.job-feed-card a:link,
.job-feed-card a:visited,
.job-feed-card a:active,
.job-feed-card a:focus {
    color: #333333 !important;
    text-decoration: none !important;
}

.job-feed-card a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* ===== JOB DETAIL PAGES ===== */
.job-detail {
    padding: var(--spacing-lg) 0;
    min-height: 80vh;
    background: var(--bg-dark);
}

.job-header {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-light) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.job-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.job-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-md);
}

.job-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.apply-btn-header {
    background: var(--accent-orange) !important;
    color: white !important;
    padding: var(--spacing-sm) var(--spacing-lg) !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    white-space: nowrap;
}

.apply-btn-header:hover {
    background: var(--accent-orange-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.3) !important;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--bg-light);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.job-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--bg-light);
    position: relative;
}

.job-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.job-description h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-xs);
}

.description-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.job-requirements,
.job-benefits {
    margin-top: var(--spacing-lg);
}

.job-requirements h3,
.job-benefits h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.job-requirements ul,
.job-benefits ul {
    list-style: none;
    padding: 0;
}

.job-requirements li,
.job-benefits li {
    background: var(--bg-light);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--spacing-lg);
}

.job-requirements li::before,
.job-benefits li::before {
    content: "✓";
    position: absolute;
    left: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: bold;
}

.apply-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-light) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.apply-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.apply-btn {
    display: inline-block;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    padding: var(--spacing-md) var(--spacing-xl) !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: var(--shadow-md) !important;
}

.apply-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.apply-btn:active {
    transform: translateY(0) !important;
    box-shadow: var(--shadow-md) !important;
}

.apply-note {
    margin-top: var(--spacing-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-card);
    padding: var(--spacing-sm) 0;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
}

.breadcrumbs a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-light) !important;
}

.breadcrumbs span {
    color: var(--text-secondary) !important;
}

/* Header per pagine lavori - rimosso override per mantenere sfondo bianco */

/* Duplicate header-content definition removed */

.logo h1 a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Responsive per pagine lavori */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .job-main {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .job-header h1 {
        font-size: 2rem;
    }
    
    .job-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .apply-btn-header {
        align-self: stretch;
        text-align: center;
    }
    
    .job-meta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .header-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .nav {
        gap: var(--spacing-md);
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Duplicate footer-logo definition removed */

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Footer bottom removed - copyright now in footer-content */

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .job-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .job-footer {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .btn-apply {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .search-form {
        padding: var(--spacing-md);
    }
    
    .job-card {
        padding: var(--spacing-md);
    }
    
    .job-title {
        font-size: 1.125rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    animation: fadeInUp 0.6s ease forwards;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.2s; }
.job-card:nth-child(3) { animation-delay: 0.3s; }
.job-card:nth-child(4) { animation-delay: 0.4s; }
.job-card:nth-child(5) { animation-delay: 0.5s; }
.job-card:nth-child(6) { animation-delay: 0.6s; }
.job-card:nth-child(7) { animation-delay: 0.7s; }
.job-card:nth-child(8) { animation-delay: 0.8s; }
.job-card:nth-child(9) { animation-delay: 0.9s; }
.job-card:nth-child(10) { animation-delay: 1s; }

/* Main CSS - Non-critical styles */

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #2c3e50;
    border: 2px solid #58af66;
    border-radius: var(--radius-md); /* Changed from --border-radius to --radius-md */
    cursor: pointer;
    transition: all 0.2s ease; /* Changed from --transition to all 0.2s ease */
    color: #ffffff;
}

.language-btn:hover {
    background: #58af66;
    border-color: #58af66;
    color: #000000;
}

.language-btn[aria-expanded="true"] {
    background: #58af66;
    border-color: #58af66;
    color: #000000;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid #58af66;
    border-radius: var(--radius-md); /* Changed from --border-radius to --radius-md */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease; /* Changed from --transition to all 0.2s ease */
    margin-top: 0.5rem;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    list-style: none;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease; /* Changed from --transition to all 0.2s ease */
    font-size: 0.875rem;
    font-weight: 600;
}

.language-dropdown a:hover {
    background: #58af66;
    color: #000000;
}

/* Search Help */
.search-help {
    font-size: 0.875rem;
    color: #000000;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    animation: fadeIn 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-light); /* Changed from --border-color to --bg-light */
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Hover Effects */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.job-card:hover .job-title {
    color: var(--primary-color);
}

/* FORCE JOB TITLES TO BE DARK - ULTRA AGGRESSIVE */
.job-title,
.job-title a,
.job-title-link,
.job-feed-card-title,
.job-feed-card-title a,
.job-feed-card h3 a,
.job-feed-card h3,
.job-feed-card .job-feed-card-title a,
.job-feed-card .job-feed-card-title {
    color: #333333 !important;
    text-decoration: none !important;
}

.job-title:hover,
.job-title a:hover,
.job-title-link:hover,
.job-feed-card-title:hover,
.job-feed-card-title a:hover,
.job-feed-card h3 a:hover,
.job-feed-card h3:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* NUCLEAR OPTION - Force ALL job feed links to be dark */
.job-feed-card a:not(.apply-btn) {
    color: #333333 !important;
    text-decoration: none !important;
}

.job-feed-card a:not(.apply-btn):hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* ULTIMATE OVERRIDE - Force job titles to be dark with maximum specificity */
.job-feed-container .job-feed-cards .job-feed-card .job-feed-card-header .job-feed-card-title a,
.job-feed-container .job-feed-cards .job-feed-card .job-feed-card-header .job-feed-card-title a:link,
.job-feed-container .job-feed-cards .job-feed-card .job-feed-card-header .job-feed-card-title a:visited,
.job-feed-container .job-feed-cards .job-feed-card .job-feed-card-header .job-feed-card-title a:active,
.job-feed-container .job-feed-cards .job-feed-card .job-feed-card-header .job-feed-card-title a:focus {
    color: #333333 !important;
    text-decoration: none !important;
}

.job-feed-container .job-feed-cards .job-feed-card .job-feed-card-header .job-feed-card-title a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Focus States */
.btn:focus,
input:focus,
.language-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Input focus states - ensure text is visible */
input:focus {
    background: #ffffff !important;
    color: #111827 !important;
}

input:focus::placeholder {
    color: #6b7280 !important;
}

/* Smart Search Enhancements */
.search-help {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    min-height: 1.25rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.search-help.show {
    opacity: 1;
    transform: translateY(0);
}

.btn-search {
    position: relative;
    overflow: hidden;
}

.btn-search:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-search .animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Search results highlighting */
.job-card.highlighted {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.job-card.search-match {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.05) 100%);
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .language-selector {
        display: none;
    }
    
    .job-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #10b981; /* Keep the green color for buttons */
        --text-color: #000;
        --border-color: #000;
    }
    
    .btn-primary {
        background: #10b981;
        color: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support - DISABLED to maintain white header */
/* @media (prefers-color-scheme: dark) { */
    /* :root {
        --text-color: #ffffff;
        --text-light: #e9ecef;
        --background-light: #343a40;
        --border-color: #495057;
    }
    
    body {
        background-color: #212529;
        color: var(--text-color);
    } */
    
    /* .job-card {
        background: #343a40;
        border-color: var(--border-color);
    }
    
    Header background removed - using default white
    
    .language-dropdown {
        background: #343a40;
        border-color: var(--border-color);
    }
    
    Job title color removed - using default dark text
    
    .job-meta {
        color: #e9ecef;
    }
    
    .job-description {
        color: #e9ecef;
    }
    
    .hero-title {
        color: #ffffff;
    }
    
    .hero-subtitle {
        color: #ffffff;
    }
    
    .input-group input {
        color: #ffffff;
        background: #495057;
        border-color: #6c757d;
    }
    
    .input-group input::placeholder {
        color: #adb5bd;
    }
    
    .footer {
        background: #343a40;
        color: #ffffff;
    } */
    
    /* .footer-brand p {
        color: #ffffff;
    }
    
    .footer-brand img {
        filter: none;
    }
    
    .footer-divider {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .footer-copyright p {
        color: #e9ecef;
    }
    
    .company-details {
        color: #e9ecef;
    }
    
    .company-details strong {
        color: #ffffff;
    }
    
    .footer-section h4 {
        color: #ffffff;
    }
    
    .footer-section ul li a {
        color: #ffffff;
    }
    
    Footer bottom removed
    
    .search-help {
        color: #e9ecef;
    }
    
    .language-dropdown a {
        color: #ffffff;
    }
    
    .language-dropdown a:hover {
        color: #ffffff;
    }
} */

/* ===== PAGINAZIONE FEED LAVORI ===== */
.job-feed-container {
    margin-top: 2rem;
}



.job-feed-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.job-feed-stat {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light); /* Changed from --background-light to --bg-light */
    border-radius: var(--radius-lg); /* Changed from 8px to var(--radius-lg) */
    border: 1px solid var(--bg-light); /* Changed from --border-color to --bg-light */
    min-width: 120px;
}

.job-feed-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.job-feed-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary); /* Changed from --text-light to --text-secondary */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.job-feed-cards {
    margin-bottom: 2rem;
}

.job-feed-card {
    background: var(--bg-light); /* Changed from --background-light to --bg-light */
    border: 1px solid var(--bg-light); /* Changed from --border-color to --bg-light */
    border-radius: var(--radius-lg); /* Changed from 8px to var(--radius-lg) */
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.job-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.job-feed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.job-feed-card:hover::before {
    transform: scaleY(1);
}

.job-feed-card-header {
    margin-bottom: 1rem;
}

.job-feed-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary) !important; /* Changed from --text-color to --text-primary */
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-feed-card-title a {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.job-feed-card-title a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.job-feed-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.job-feed-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary); /* Changed from --text-light to --text-secondary */
    font-size: 0.875rem;
}

.job-feed-meta-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.job-feed-card-description {
    color: var(--text-secondary); /* Changed from --text-light to --text-secondary */
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-feed-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-light); /* Changed from --border-color to --bg-light */
}

.job-feed-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.job-feed-card-tag {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.job-feed-load-more {
    text-align: center;
    padding: 2rem 0;
}

.job-feed-load-more-btn {
    background: var(--bg-light); /* Changed from --background-light to --bg-light */
    color: var(--text-primary); /* Changed from --text-color to --text-primary */
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg); /* Changed from 8px to var(--radius-lg) */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    min-width: 200px;
}

.job-feed-load-more-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.job-feed-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    border-color: var(--text-secondary); /* Changed from --text-light to --text-secondary */
}

.job-feed-load-more-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== APPLY BUTTON STYLING ===== */
.apply-btn {
    background: var(--accent-orange) !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--accent-orange) !important;
    min-width: 120px;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.apply-btn:hover {
    background: var(--accent-orange-dark) !important;
    border-color: var(--accent-orange-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.apply-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===== JOB DETAIL APPLY BUTTONS STYLING ===== */
#apply-btn,
#apply-btn-header {
    background: var(--accent-orange) !important;
    color: #333333 !important;
    padding: 1rem 2rem !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    transition: all 0.3s ease !important;
    border: 2px solid var(--accent-orange) !important;
    min-width: 160px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2) !important;
    text-align: center !important;
}

#apply-btn:hover,
#apply-btn-header:hover {
    background: var(--accent-orange-dark) !important;
    border-color: var(--accent-orange-dark) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4) !important;
}

#apply-btn:active,
#apply-btn-header:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3) !important;
}

/* Secondary Button */
.btn-secondary {
    background: transparent !important;
    color: var(--accent-orange) !important;
    padding: 1rem 2rem !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    transition: all 0.3s ease !important;
    border: 2px solid var(--accent-orange) !important;
    min-width: 160px !important;
    cursor: pointer !important;
    margin-left: 1rem !important;
}

.btn-secondary:hover {
    background: var(--accent-orange) !important;
    color: #333333 !important;
}

/* Responsive per paginazione feed */
@media (max-width: 768px) {
    .job-feed-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .job-feed-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-feed-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .job-feed-load-more-btn {
        width: 100%;
    }
    
    .apply-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Job Detail Apply Buttons - Mobile */
    #apply-btn,
    #apply-btn-header {
        width: 100% !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
        min-width: auto !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}
