/* === Styles Globaux & Typographie === */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #fdfdff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    color: #2c3e50;
    font-weight: 700;
}

/* === Header & Navigation === */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

nav .logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover {
    color: #007bff;
    background-color: #f0f6ff;
}

.nav-toggle {
    display: none; /* Caché par défaut sur les grands écrans */
}

.cta-button-secondary {
    background-color: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button-secondary:hover {
    background-color: #007bff;
    color: #fff;
}


/* === Hero Section (Homepage) === */
.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons .cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
}

.hero-buttons .cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .cta-button-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    display: inline-block;
    margin-left: 1rem;
}

.hero-buttons .cta-button-outline:hover {
    background-color: #fff;
    color: #007bff;
    transform: translateY(-4px);
}


/* === Features Section (Homepage) === */
.features-section {
    padding: 6rem 2rem;
    background-color: #f8f9fa;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.feature-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
}

/* === Recruiter CTA Section (Homepage) === */
.recruiter-cta-section {
    padding: 6rem 2rem;
    background-color: #eaf2ff;
    text-align: center;
}

.recruiter-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.recruiter-cta-section p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    color: #555;
}

.recruiter-cta-section .cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
}

.recruiter-cta-section .cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === Footer === */
.main-footer {
    background-color: #2c3e50;
    color: #a9b9c8;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #4a5c6e;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-section p, .footer-section ul {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section.about .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section.about .logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #a9b9c8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-section i {
    margin-right: 10px;
}

.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #4a5c6e;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: #007bff;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}


/*
============================================
        PRICING PAGE
============================================
*/

.pricing-main-container {
    background-color: #f8f9fa;
}

.pricing-hero {
    background-color: #ffffff;
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.pricing-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.pricing-hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

.pricing-container {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.plan-category {
    margin-bottom: 5rem;
}

.plan-category h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.plan-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.plan-card.popular {
    border-color: #007bff;
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-card h3 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.plan-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.plan-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.plan-card .analysis-limit {
    color: #555;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.plan-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.plan-card .features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.plan-card .features i {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.2rem;
}

.plan-card .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
}

.plan-card .cta-button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.plan-card .cta-button.outline {
    background-color: transparent;
    color: #007bff;
}

.plan-card .cta-button.outline:hover {
    background-color: #007bff;
    color: #fff;
}


/*
============================================
        AUTH PAGES (LOGIN, REGISTER)
============================================
*/
.auth-page {
    background-color: #f4f7f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-home-link {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 1.5rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-home-link:hover {
    color: #333;
}

.auth-box {
    background-color: #ffffff;
    max-width: 450px;
    width: 100%;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-header .logo {
    display: block;
    margin-bottom: 1rem;
}

.auth-header .logo img {
    height: 50px;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.auth-header p {
    color: #777;
    margin-bottom: 2.5rem;
}

.auth-box .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.auth-box label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.auth-box input[type="text"],
.auth-box input[type="password"],
.auth-box input[type="email"],
.auth-box select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-box input:focus, .auth-box select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.auth-box .cta-button {
    display: block;
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-box .cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777;
}

.auth-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer .privacy-notice {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: #888;
}


/*
============================================
        INNER PAGES (ANALYZER, RECRUITER)
============================================
*/
.analyzer-page, 
.recruiter-page {
    background-color: #f4f7f9;
}



/* === Forms & Auth Pages === */
.form-container {
    max-width: 450px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
input[type="file"],
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-container button[type="submit"],
.analyzer-page .container button,
.recruiter-page .container button {
    display: block;
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-container button[type="submit"]:hover,
.analyzer-page .container button:hover,
.recruiter-page .container button:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.form-container button:disabled,
.analyzer-page .container button:disabled,
.recruiter-page .container button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.form-container p {
    text-align: center;
    margin-top: 1.5rem;
}

/* === Error Pages === */
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background-color: #f4f7f9;
}

.error-container {
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: #007bff;
    line-height: 1;
}

.error-container h1 {
    font-size: 2.5rem;
    margin-top: 0;
    color: #333;
}

.error-page .cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error-page .cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === Analyzer & Recruiter Specific Containers === */
.analyzer-page .container,
.recruiter-page .container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* === Recruiter-specific Results (Updated) === */
.recruiter-page .results-section {
    margin-top: 2rem;
}

.result-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    overflow: hidden; /* Ensures child elements respect border radius */
}

.result-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.result-card-header .rank {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
}

.result-card-header .filename {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    margin: 0;
    flex-grow: 1;
    margin-left: 1.5rem;
}

.score-dial {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: conic-gradient(#007bff calc(var(--score, 0) * 1%), #e9ecef 0);
    font-size: 1.1rem;
    font-weight: 700;
    color: #343a40;
    flex-shrink: 0;
}

.score-dial span {
    background: #f8f9fa;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-card-body {
    padding: 1.5rem;
    text-align: center;
}

.toggle-details-btn {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto; /* Center the button */
    display: inline-block;
    width: auto; /* Override general button width */
}

.toggle-details-btn:hover {
    background-color: #007bff;
    color: #fff;
}

.analysis-details {
    margin-top: 1.5rem;
    text-align: left;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.analysis-details h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #333;
}

.analysis-details h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-details .strengths h5 {
    color: #28a745;
}

.analysis-details .weaknesses h5 {
    color: #dc3545;
}

.analysis-details p {
    color: #555;
    margin: 0 0 1.5rem 0;
    padding-left: 28px; /* Indent text to align with icon */
    font-size: 0.95rem;
}

.error-message {
    color: #dc3545;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}


/* === Analyzer-specific Results === */
.analyzer-page #results-container {
    margin-top: 3rem;
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.score-wrapper h2,
.keywords-wrapper h2,
.analysis-wrapper h2,
.rewritten-cv-wrapper h2 {
    font-size: 1.5rem;
    color: #007bff;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#007bff 0%, #e9ecef 0%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto;
    transition: background 1s ease-in-out;
}

#score-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #343a40;
}

pre {
    background-color: #f1f3f5;
    padding: 1rem;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
}

#copy-cv-button,
#download-pdf-button {
    width: auto;
    padding: 0.6rem 1.2rem;
    margin-right: 1rem;
    margin-top: 1rem;
    background-color: #28a745;
}


/*
============================================
        STYLES RESPONSIVES
============================================
*/

/* === Tablettes & Petits Ordinateurs (max-width: 992px) === */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }

    .features-section, .recruiter-cta-section {
        padding: 5rem 1.5rem;
    }

    .features-section h2, .recruiter-cta-section h2 {
        font-size: 2.2rem;
    }

    nav {
        padding: 0 1.5rem;
    }
}

/* === Mobiles (max-width: 768px) === */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .main-header {
        padding: 0 1rem;
    }

    nav {
        padding: 0;
    }
    
    nav .logo {
        font-size: 1.3rem;
    }

    nav .logo img {
        height: 35px;
    }

    .nav-links {
        display: none; /* Caché par défaut */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex; /* Affiché avec JS */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1.5rem;
        width: 100%;
        border-radius: 0;
    }

    .nav-toggle {
        display: block; /* Afficher le bouton hamburger */
        font-size: 1.5rem;
        background: none;
        border: none;
        color: #333;
        cursor: pointer;
    }

    .hero-section {
        padding: 5rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-buttons .cta-button, .hero-buttons .cta-button-outline {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }

    .features-section, .recruiter-cta-section {
        padding: 4rem 1.5rem;
    }

    .auth-box {
        padding: 2rem;
        margin: 1rem;
    }

    .analyzer-page .container, .recruiter-page .container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .result-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .result-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .score-dial {
        align-self: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section.about .logo {
        justify-content: center;
    }
}

/* === Petits Mobiles (max-width: 480px) === */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features-section h2, .recruiter-cta-section h2 {
        font-size: 1.8rem;
    }

    .auth-box {
        padding: 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    #copy-cv-button,
    #download-pdf-button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* --- Admin Dashboard Specific Styles -- */

body.admin-dashboard {
    background-color: #f0f2f5;
}

.admin-dashboard .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-dashboard .dashboard-main {
    padding: 2rem;
}

.dashboard-title {
    margin-bottom: 2rem;
}

.dashboard-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
}

.dashboard-title p {
    font-size: 1.1rem;
    color: #666;
}

.user-list-container.card {
    padding: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.card-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    background-color: #f0f2f5;
    padding: 8px 15px;
    border-radius: 20px;
}

.user-count .count-number {
    font-weight: 700;
    font-size: 1.2rem;
    color: #0056b3;
}

.table-responsive {
    overflow-x: auto;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
}

.user-table th, .user-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.user-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-table th i {
    margin-right: 8px;
    color: #888;
}

.user-table tbody tr:last-child td {
    border-bottom: none;
}

.user-table tbody tr:hover {
    background-color: #f5faff;
}

.user-table td a {
    font-weight: 500;
    color: #0056b3;
    text-decoration: none;
}
.user-table td a:hover {
    text-decoration: underline;
}

.no-users-message {
    text-align: center;
    padding: 3rem;
    color: #777;
    font-style: italic;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.role-badge.role-admin {
    background-color: #ffefeb;
    color: #d93025;
}

.role-badge.role-recruiter {
    background-color: #e6f7ff;
    color: #0056b3;
}

.role-badge.role-job-seeker {
    background-color: #e6f4ea;
    color: #2e7d32;
}
.admin-dashboard .dashboard-header .logo img {
    height: 40px;
    margin-right: 10px;
}
