/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007bff; /* Professional Blue */
    --primary-hover: #0056b3;
    --secondary-color: #6c757d; /* Muted Gray */
    --secondary-hover: #545b62;
    --accent-color: #28a745; /* Green for success, pro features */
    --accent-hover: #1e7e34;
    --danger-color: #dc3545; /* Red for warnings, missing */
    --warning-color: #ffc107; /* Yellow for recommendations */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #495057;
    --border-color: #dee2e6;
    --card-bg: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --border-radius: 8px;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /*--section-padding: 3rem 0;*/ /* More vertical spacing */

    --mobile-breakpoint: 768px; /* Define your mobile breakpoint */
    --container-padding-desktop: 20px;
    --container-padding-mobile: 15px; /* Slightly less padding for mobile if desired */

    --navbar-height: 65px; /* Example: Define your navbar height */
    --main-content-top-offset: calc(var(--navbar-height) + 1.5rem); /* Navbar height + desired space */
    --section-padding: var(--main-content-top-offset) 0 3rem 0; /* top right bottom left */

    --section-vertical-padding: 2rem; /* General vertical padding for sections */
    --main-content-top-buffer: 1.5rem;
    --section-horizontal-padding-mobile: var(--container-padding-mobile);
    --section-horizontal-padding-desktop: var(--container-padding-desktop);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6; /* Adjusted for potentially smaller font */
    color: var(--text-color);
    background-color: var(--light-color);
    font-size: 0.95rem; /* Approx 15.2px if base is 16px. Adjust as needed. */
    /* Or use px: font-size: 15px; */
}

.container {
    width: 100%; /* Default to full width for mobile-first approach */
    max-width: 1100px; /* Max width will apply on larger screens */
    margin: 0 auto; /* Centers the container when max-width is hit */
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
    box-sizing: border-box; /* Ensure padding doesn't add to the width */
}


h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

    h2.section-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 1rem;
        color: var(--primary-color);
        position: relative;
        padding-bottom: 0.5rem;
    }

        h2.section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }

p.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--primary-hover);
    }

.section-card {
    background-color: var(--card-bg);
    /* padding: 2.5rem 2rem; /* Original padding */
    padding: 2rem var(--container-padding-mobile); /* Use mobile padding for horizontal */
    margin-bottom: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}



/* --- Main Content --- */
.main-content {
    /*padding-top: var(--section-padding);*/ /* Space below sticky nav */
    padding-top: var(--main-content-top-offset);
}

/* --- Buttons --- */
.btn {
    display: inline-flex; /* Changed to inline-flex for better icon alignment */
    align-items: center; /* Vertically align icon and text */
    justify-content: center; /* Center content in button */
    padding: 0.75rem 1.5rem; /* Adjusted base padding slightly */
    font-family: var(--font-primary);
    font-size: 0.95rem; /* Slightly smaller base button font */
    font-weight: 600;
    border: 1px solid transparent; /* Add a base border for consistency if outlined buttons are used */
    border-radius: var(--border-radius); /* Keep your existing border-radius */
    cursor: pointer;
    text-align: center;
    text-decoration: none; /* Ensure links styled as buttons don't have underlines */
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08); /* Softer initial shadow */
    line-height: 1.4; /* Adjust line height for button text */
}

    .btn i {
        margin-right: 0.5rem;
    }
    .btn i:only-child {
            margin-right: 0;
        }

    .btn:hover:not(:disabled) { /* Add :not(:disabled) */
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(0,0,0,0.12); /* Slightly more pronounced shadow on hover */
    }

    .btn:active:not(:disabled) {
        transform: translateY(0px);
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    .btn:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
    }

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

    .btn-secondary:hover {
        background-color: var(--secondary-hover);
    }

.btn-pro {
    background-color: var(--accent-color);
    color: white;
}

    .btn-pro:hover {
        background-color: var(--accent-hover);
    }

.btn-donate {
    background-color: var(--warning-color);
    color: var(--dark-color);
    margin: 0.5rem;
}

    .btn-donate:hover {
        background-color: #e0a800;
    }

    .btn-donate.custom-amount {
        background-color: var(--primary-color);
        color: white;
    }

        .btn-donate.custom-amount:hover {
            background-color: var(--primary-hover);
        }


/* --- Upload Section --- */
.upload-area {
    margin-bottom: 1.5rem;
    text-align: center;
}

.upload-label-button {
    display: inline-block;
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

    .upload-label-button:hover {
        background-color: var(--primary-color);
        color: white;
    }

    .upload-label-button i {
        margin-right: 0.5rem;
    }

#resumeUpload {
    display: none; /* Hide default input */
}

#file-name-display {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.btn-analyze {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto 0 auto;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 20px 0;
}

    .loading-spinner.hidden {
        display: none;
    }

.spinner {
    border: 6px solid var(--light-color);
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* --- Feedback Report Section --- */
.feedback-report.hidden {
    display: none;
}

.score-card {
    background-color: #e9f5ff; /* Light blue accent */
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: center;
    border-left: 5px solid var(--primary-color);
}

.score-label {
    font-size: 1.1rem;
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.3rem;
}

.score-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.8rem;
}

.score-bar-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #cce7ff;
    border-radius: 20px;
    height: 12px;
    overflow: hidden;
}

.score-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 20px;
    transition: width 0.5s ease-out;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feedback-box {
    background-color: var(--card-bg); /* Could be slightly different like #fdfdfd */
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color); /* Subtle border */
}

    .feedback-box h3 {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.5rem;
    }

        .feedback-box h3 i {
            margin-right: 0.5rem;
        }

.feedback-list li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
    display: flex; /* For icon alignment */
    align-items: flex-start;
}

.feedback-list .icon-bullet {
    color: var(--accent-color);
    margin-right: 0.6rem;
    margin-top: 0.2rem; /* Align with text better */
    min-width: 16px; /* Ensure space for icon */
}

.action-items-list .icon-bullet {
    color: var(--primary-color);
}

.keyword-box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

    .keyword-box h4:first-child {
        margin-top: 0;
    }

    .keyword-box h4 i.fa-check-circle-custom.matched {
        color: var(--accent-color);
    }

    .keyword-box h4 i.fa-times-circle-custom.missing {
        color: var(--danger-color);
    }

    .keyword-box h4 i.fa-lightbulb-custom.recommended {
        color: var(--warning-color);
    }

.keyword-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .keyword-pills span {
        background-color: #e9ecef;
        color: var(--secondary-color);
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.85rem;
        font-weight: 500;
    }

.keyword-category:nth-child(1) .keyword-pills span {
    background-color: #d4edda;
    color: #155724;
}
/* Matched */
.keyword-category:nth-child(2) .keyword-pills span {
    background-color: #f8d7da;
    color: #721c24;
}
/* Missing */
.keyword-category:nth-child(3) .keyword-pills span {
    background-color: #fff3cd;
    color: #856404;
}
/* Recommended */


.report-actions {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}


/* --- About Us & Support Project Sections --- */
.about-content ul, .support-content ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

    .about-content ul li, .support-content ul li {
        margin-bottom: 0.5rem;
        display: flex;
        align-items: flex-start;
    }

.about-content .point, .support-content .point { /* Custom icon for points */
    color: var(--accent-color);
    margin-right: 0.6rem;
    margin-top: 0.2rem;
    min-width: 16px;
}

.support-content .donation-options {
    text-align: center;
    margin: 1.5rem 0;
}

.support-content .thank-you-note {
    text-align: center;
    font-style: italic;
    color: var(--secondary-color);
    margin-top: 1rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

    .footer p {
        margin: 0;
        font-size: 0.9rem;
    }

    .footer a {
        color: var(--light-color);
        text-decoration: underline;
    }

        .footer a:hover {
            color: var(--primary-color);
        }



/* --- Upload Section Enhancements --- */
.upload-section .form-group-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically by default */
    gap: 1.5rem; /* Space between file upload and job role input */
    margin-bottom: 1.5rem;
    align-items: center; /* Center items when stacked */
}

.upload-section .form-group {
    width: 100%;
    max-width: 500px; /* Control max width of form elements */
}

.upload-area {
    /* text-align: center; - Already handled by form-group-container align-items */
}

.upload-label-button {
    display: block; /* Make it block to take full width of its container */
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 1rem 1.5rem; /* Adjusted padding */
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
    text-align: center; /* Center text within the button */
}

    .upload-label-button:hover {
        background-color: var(--primary-color);
        color: white;
    }

    .upload-label-button i {
        margin-right: 0.5rem;
    }


#resumeUpload {
    display: none; /* Hide default input */
}

#file-name-display {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-align: center; /* Center file name display */
}

.job-role-group .form-label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-align: left; /* Align label text to the left */
}

.job-role-group .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .job-role-group .form-control:focus {
        border-color: var(--primary-color);
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    .job-role-group .form-control::placeholder {
        color: #adb5bd; /* Lighter placeholder text */
        opacity: 1;
    }


.btn-analyze {
    display: block;
    width: 100%;
    max-width: 350px; /* Slightly wider to accommodate new layout */
    margin: 1.5rem auto 0 auto; /* Adjusted margin */
}

/* Optional: If you want file input and job role side-by-side on larger screens */
@media (min-width: 768px) {
    .upload-section .form-group-container {
        flex-direction: row; /* Side-by-side on larger screens */
        align-items: flex-start; /* Align items to the top */
        gap: 2rem; /* Space between file upload and job role input */
    }

    .upload-section .form-group {
        flex: 1; /* Allow them to share space */
    }

    .job-role-group {
        margin-top: 0; /* Reset margin if side-by-side */
    }
}

/* ... (Rest of your existing CSS) ... */

/* --- Help Page Specific Styles --- */
.help-page-container {
    padding-top: 2rem; /* Space below sticky nav if applicable */
}

.help-header {
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 3rem 2rem !important; /* Override section-card padding */
}

    .help-header .section-title,
    .help-header .section-subtitle {
        color: white;
    }

        .help-header .section-title::after {
            background-color: white; /* Make title underline visible on gradient */
        }


.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left; /* Align subsection titles to the left */
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

    .subsection-title i {
        margin-right: 0.75rem;
    }

/* Steps Guide */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start; /* Align icon and content to the top */
    background-color: #fdfdfd; /* Slightly off-white */
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .step-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

.step-number-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 1.5rem;
    min-width: 60px; /* Ensure consistent width */
}

.step-number {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Understanding Report Section */
.report-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.report-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-color); /* Slightly different from card bg */
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.report-item-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.report-item h4 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.report-item ul {
    text-align: left;
    padding-left: 1rem; /* Indent list items */
    font-size: 0.9rem;
}

    .report-item ul li {
        margin-bottom: 0.3rem;
    }

/* Sample Report Preview */
.feedback-report-sample {
    border: 2px dashed var(--secondary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: #fdfdfd;
}

.score-card-sample { /* Reusing score card styles but with -sample suffix if needed */
    background-color: #e9f5ff;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

    .score-card-sample .score-label {
        font-size: 1rem;
    }

    .score-card-sample .score-value {
        font-size: 2.2rem;
        color: var(--primary-color);
    }

.feedback-grid-sample {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.feedback-box-sample {
    background-color: var(--card-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

    .feedback-box-sample h3 {
        font-size: 1.1rem;
        color: var(--primary-color);
        margin-bottom: 0.8rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.4rem;
    }

        .feedback-box-sample h3 i {
            margin-right: 0.4rem;
        }

.feedback-list-sample li, .action-items-list-sample li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.feedback-list-sample .icon-bullet, .action-items-list-sample .icon-bullet {
    color: var(--accent-color);
    margin-right: 0.5rem;
    margin-top: 0.15rem;
    min-width: 14px;
}

.action-items-list-sample .icon-bullet {
    color: var(--primary-color);
}

.keyword-box-sample h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}

    .keyword-box-sample h4 i {
        margin-right: 0.3rem;
        font-size: 0.9em;
    }

        .keyword-box-sample h4 i.fa-check-circle-custom.matched {
            color: var(--accent-color);
        }

        .keyword-box-sample h4 i.fa-times-circle-custom.missing {
            color: var(--danger-color);
        }

.keyword-pills-sample {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

    .keyword-pills-sample span {
        background-color: #e9ecef;
        color: var(--secondary-color);
        padding: 0.25rem 0.6rem;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: 500;
    }

.keyword-category-sample:nth-child(1) .keyword-pills-sample span {
    background-color: #d4edda;
    color: #155724;
}

.keyword-category-sample:nth-child(2) .keyword-pills-sample span {
    background-color: #f8d7da;
    color: #721c24;
}

/* Tips for Success & FAQ */
.tips-for-success ul, .faq-section {
    margin-top: 1rem;
}

    .tips-for-success ul li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        display: flex;
        align-items: flex-start;
    }

.tips-for-success .point {
    color: var(--primary-color); /* Different color for tip icons */
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    min-width: 18px;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-color);
}

    .faq-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .faq-item h4 {
        font-size: 1.1rem;
        color: var(--dark-color);
        margin-bottom: 0.5rem;
        cursor: pointer; /* Optional: if you add JS for accordion later */
    }

    .faq-item p {
        font-size: 0.95rem;
    }

/* Responsive adjustments for help page if needed */
@media (max-width: 768px) {
    .subsection-title {
        font-size: 1.6rem;
    }

    .steps-grid, .report-breakdown {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }

    .step-item {
        flex-direction: column; /* Stack icon/number above content */
        align-items: center;
        text-align: center;
    }

    .step-number-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .report-item-icon {
        font-size: 2rem;
    }
}

/* --- About Us Page Specific Styles --- */
.about-us-page-container {
    padding-top: 2rem;
}

/* Hero Section */
.about-us-hero {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    align-items: center;
    text-align: center;
    gap: 2rem;
    background: linear-gradient(to right, rgba(0, 123, 255, 0.05), rgba(40, 167, 69, 0.05)); /* Very subtle gradient */
    padding: 2rem 1.5rem !important;
}

    .about-us-hero .section-title {
        font-size: 2.8rem; /* Larger title for hero */
    }

        .about-us-hero .section-title::after {
            width: 100px; /* Wider underline */
        }

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-statement {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}

.hero-image-container {
    max-width: 400px; /* Control image size */
    width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    opacity: 0.85;
}

@media (min-width: 992px) { /* Larger screens */
    .about-us-hero {
        flex-direction: row;
        text-align: left;
    }

        .about-us-hero .section-title,
        .about-us-hero .section-subtitle,
        .about-us-hero .hero-statement {
            text-align: left;
            margin-left: 0;
            margin-right: 0;
        }

            .about-us-hero .section-title::after {
                left: 0;
                transform: translateX(0);
            }

    .hero-content {
        flex: 1.5;
    }

    .hero-image-container {
        flex: 1;
    }
}

/* Our Story Section */
.story-content ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 0; /* Reset default padding */
}

    .story-content ul li {
        margin-bottom: 0.75rem;
        display: flex;
        align-items: flex-start;
        font-size: 1.05rem; /* Slightly larger points */
    }

.story-content .point { /* Using .point class for icons */
    color: var(--accent-color);
    margin-right: 0.8rem;
    margin-top: 0.25rem; /* Adjust for alignment */
    min-width: 18px;
    font-size: 1.1em;
}

/* Mission, Vision, Values Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mvv-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .mvv-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--card-shadow);
    }

.mvv-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mvv-item h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.mvv-item ul {
    text-align: left;
    padding-left: 1.5rem; /* Indent list for values */
    list-style-type: disc; /* Use standard bullets for values */
}

    .mvv-item ul li {
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
    }

/* How AI Helps Section */
.ai-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.ai-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.ai-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block; /* Center icon */
    margin-left: auto;
    margin-right: auto;
}

.ai-step h4 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Team Section (Optional) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.team-member .team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--border-color);
}

.team-member h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.team-member p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Join Us / CTA Section */
.join-us {
    text-align: center;
}

    .join-us p {
        max-width: 700px;
        margin: 0 auto 1.5rem auto;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-outline { /* Example for an outline button if you add one */
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

    .btn-outline:hover {
        background-color: var(--primary-color);
        color: white;
    }




    /* --- Support Project Page Specific Styles --- */
/* --- Support Us Page Specific Styles --- */
.support-us-page-container {
    padding-top: 2rem;
}

.support-us-hero {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 3rem 2rem !important;
}

    .support-us-hero .section-title,
    .support-us-hero .hero-subtitle {
        color: white;
    }

        .support-us-hero .section-title::after {
            background-color: white;
        }

.why-support-us .subsection-title i {
    color: var(--warning-color); /* Different icon color for emphasis */
}

.support-explanation {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    align-items: center;
    gap: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.explanation-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.explanation-text ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 0;
}

    .explanation-text ul li {
        margin-bottom: 0.6rem;
        display: flex;
        align-items: center;
    }

.explanation-text .point {
    color: var(--accent-color);
    margin-right: 0.75rem;
    min-width: 18px;
}

@media (min-width: 768px) {
    .support-explanation {
        flex-direction: row;
        align-items: flex-start;
    }

    .explanation-icon {
        margin-right: 2rem;
        margin-bottom: 0;
        min-width: 70px; /* Ensure space for icon */
    }

    .explanation-text {
        flex: 1;
    }
}

/* Make a Difference Section */
.make-a-difference {
    text-align: center;
    background-color: #f0f8ff; /* AliceBlue - a very light, inviting blue */
}

.donation-focus-area {
    max-width: 600px;
    margin: 0 auto;
}

.donation-icon-large i {
    font-size: 4.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.donation-appeal {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.impact-statement {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.btn-donate-main {
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 30px; /* Pill shape */
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

    .btn-donate-main:hover:not(.disabled) {
        background-color: var(--accent-hover);
        transform: translateY(-3px) scale(1.02);
    }

    .btn-donate-main.disabled {
        background-color: var(--secondary-color);
        cursor: not-allowed;
        box-shadow: none;
    }

    .btn-donate-main .spinner-border-sm {
        margin-right: 0.5rem;
    }

.secure-payment-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

    .secure-payment-note i {
        margin-right: 0.3rem;
    }

.payment-message {
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    font-weight: 500;
}

    .payment-message.success {
        background-color: #d4edda; /* Light green */
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .payment-message.error {
        background-color: #f8d7da; /* Light red */
        color: #721c24;
        border: 1px solid #f5c6cb;
    }


/* Other Ways to Help */
.support-alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.alternative-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.alt-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.alternative-item h4 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Final Thank You */
.thank-you-note-section {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
}

.final-thank-you {
    font-size: 1.1rem;
    font-weight: 500;
}

    .final-thank-you i {
        color: var(--danger-color); /* Red heart */
        margin-right: 0.5rem;
    }

/* ... (Keep all existing Support Us Page Specific Styles) ... */

/* Enhancements for Make a Difference Section with multiple methods */
.make-a-difference .subsection-title { /* Center if you prefer */
    /* text-align: center; */
}

.donation-methods-container {
    display: grid;
    grid-template-columns: 1fr; /* Stack by default */
    gap: 2.5rem; /* Increased gap */
    margin-top: 2rem;
}

.donation-method-card, .donation-method-upi {
    padding: 2rem; /* More padding */
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    background-color: var(--card-bg); /* Ensure background for distinct cards */
}

.donation-method-title {
    font-size: 1.5rem; /* Slightly larger title for each method */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

    .donation-method-title i {
        margin-right: 0.6rem;
    }


/* UPI QR Code Specific Styles */
.donation-method-upi {
    background-color: #f8f9fa; /* Slightly different background for UPI section */
    border: 1px solid var(--border-color);
}

.upi-qr-code-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.upi-qr-image {
    max-width: 220px; /* Adjust size as needed */
    width: 100%;
    height: auto;
    border: 5px solid white; /* Nice border around QR */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.upi-vpa-display {
    font-size: 1rem;
    color: var(--dark-color);
    background-color: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: inline-flex; /* To keep button and text aligned */
    align-items: center;
    gap: 0.5rem;
}

    .upi-vpa-display strong {
        font-weight: 600;
    }

.btn-copy-vpa {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.2rem;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-copy-vpa:hover {
        color: var(--primary-hover);
    }

.copy-feedback {
    font-size: 0.85em;
    color: var(--accent-color);
    margin-left: 0.5rem;
    font-style: italic;
}


.upi-instructions {
    font-size: 0.95rem;
    text-align: left; /* Align instructions to the left */
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px dashed var(--secondary-color);
}

    .upi-instructions ol {
        padding-left: 1.5rem; /* Indent list items */
        margin-top: 0.5rem;
    }

    .upi-instructions li {
        margin-bottom: 0.5rem;
    }

.upi-note {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
}


/* Responsive layout for donation methods */
@media (min-width: 992px) { /* For larger screens, display side-by-side */
    .donation-methods-container {
        grid-template-columns: 1fr 1fr; /* Two columns */
        align-items: flex-start; /* Align cards to the top */
    }

    .donation-method-card, .donation-method-upi {
        height: 100%; /* Make cards same height if desired */
    }
}

/* --- Feedback Page & Partials Styles --- */

/* Main Feedback Page Layout */
.feedback-page-container {
    padding-top: 2rem;
}

.feedback-page-hero {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4e95ff 100%); /* Adjusted gradient */
    color: white;
    padding: 3rem 2rem !important;
}

    .feedback-page-hero .section-title,
    .feedback-page-hero .hero-subtitle {
        color: white;
    }

        .feedback-page-hero .section-title::after {
            background-color: white;
        }

.feedback-layout-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack by default */
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 992px) { /* Side-by-side for form and recent list on larger screens */
    .feedback-layout-grid {
        grid-template-columns: 1.2fr 1fr; /* Give a bit more space to the form */
        align-items: flex-start;
    }
}


/* _SubmitFeedbackFormPartial Styles */
.feedback-form-container {
    padding: 1.5rem; /* Padding inside the form card */
}

    .feedback-form-container .form-title {
        font-size: 1.6rem;
        color: var(--primary-color);
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .feedback-form-container .form-subtitle {
        text-align: center;
        font-size: 1rem;
        color: var(--secondary-color);
        margin-bottom: 2rem;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        font-weight: 600;
        color: var(--dark-color);
        margin-bottom: 0.5rem;
    }

.form-control { /* General form control styling - you might have this globally */
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.star-rating-input .star {
    font-size: 1.8rem; /* Larger stars for input */
    color: #ccc; /* Unselected star color */
    cursor: pointer;
    margin-right: 0.3rem;
    transition: color 0.2s ease;
}

    .star-rating-input .star:hover,
    .star-rating-input .star.selected {
        color: var(--warning-color); /* Gold for selected/hover */
    }

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit-feedback {
    padding: 0.8rem 2rem;
}

    .btn-submit-feedback .spinner-border-sm {
        margin-right: 0.5rem;
    }

.submit-feedback-message {
    margin-top: 1.5rem;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
}

    .submit-feedback-message.success {
        background-color: #d1e7dd;
        color: #0f5132;
        border: 1px solid #badbcc;
    }

    .submit-feedback-message.error {
        background-color: #f8d7da;
        color: #842029;
        border: 1px solid #f5c2c7;
    }
/* Validation Message Styling (Blazor default can be customized) */
.validation-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}


/* _FeedbackListPartial Styles */
.feedback-list-container {
    /* Styles for the overall list container if needed */
}

    .feedback-list-container .list-title {
        font-size: 1.6rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.5rem;
    }

.feedback-item-card {
    background-color: var(--card-bg); /* Ensure card background */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feedback-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 0.5rem;
}

.feedback-rating-display .star {
    font-size: 1.1rem; /* Slightly smaller stars for display */
    color: #e0e0e0; /* Default empty star color */
    margin-right: 0.1rem;
}

    .feedback-rating-display .star.filled {
        color: var(--warning-color); /* Gold for filled stars */
    }

.feedback-email-display {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
}

.feedback-date-display {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.feedback-item-message p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem; /* Space for quote */
}

    .feedback-item-message p::before {
        content: '\201C'; /* Left double quotation mark */
        font-family: Georgia, serif;
        font-size: 2.5rem;
        color: var(--primary-color);
        opacity: 0.5;
        position: absolute;
        left: -0.5rem;
        top: -0.8rem;
    }

.no-feedback-message, .feedback-list-loading {
    text-align: center;
    font-style: italic;
    color: var(--secondary-color);
    padding: 2rem;
}

    .feedback-list-loading .spinner {
        margin: 0 auto 1rem auto; /* Center spinner */
    }

/* Recent Feedback Section specific on main page */
.recent-feedback-section {
    background-color: #f8f9fa; /* Slightly different background */
}


/* analysis report */
/* --- Modern Row-Based Resume Report Partial Styles --- */

.resume-analysis-report-container {
    margin-top: 2rem; /* Space above the first report section */
}

.main-report-title {
    font-size: 2.5rem; /* Prominent main title for the report */
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 1rem;
}

    .main-report-title i {
        margin-right: 0.75rem;
    }


/* Base for each report section "row" */
.report-section-row {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem; /* Space between rows */
    padding: 2rem 2.5rem; /* Generous padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07); /* Softer, more modern shadow */
    border-left: 5px solid transparent; /* Accent border, color set per section */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .report-section-row:hover {
        /* transform: translateY(-3px); */ /* Optional subtle hover effect */
        /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
    }

.section-row-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-icon {
    font-size: 2rem; /* Larger icon for section header */
    color: var(--primary-color); /* Default icon color */
    margin-right: 1.25rem;
    width: 40px; /* Fixed width for alignment */
    text-align: center;
}

.section-row-title {
    font-size: 1.6rem; /* Clear section title */
    color: var(--dark-color);
    margin-bottom: 0; /* Reset margin as it's in a flex container */
    font-weight: 600;
}

.section-row-content {
    line-height: 1.7;
    font-size: 1.05rem; /* Slightly larger base text */
    color: var(--text-color);
}

    .section-row-content p {
        margin-bottom: 1rem;
    }

        .section-row-content p:last-child {
            margin-bottom: 0;
        }


/* Specific Section Accent Colors & Icons */
.score-section {
    border-left-color: var(--primary-color);
}

    .score-section .section-icon {
        color: var(--primary-color);
    }

.summary-feedback-section {
    border-left-color: var(--accent-color);
}
    /* Green for summary */
    .summary-feedback-section .section-icon {
        color: var(--accent-color);
    }

.summary-text {
    font-style: italic;
    /* background-color: #f8f9fa; */ /* Optional subtle background for text block */
    /* padding: 1rem; */
    /* border-radius: var(--border-radius); */
}


.detailed-analysis-section {
    border-left-color: #6f42c1;
}
    /* Purple for detailed */
    .detailed-analysis-section .section-icon {
        color: #6f42c1;
    }

.section-feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.section-feedback-item {
    background-color: #fdfdfd; /* Slightly different for items within a section */
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.section-feedback-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.section-feedback-item .item-icon {
    font-size: 1.3rem;
    color: var(--secondary-color); /* Muted icon for sub-items */
    margin-right: 0.75rem;
}

.section-feedback-item h4 { /* Section names like Summary, Skills */
    font-size: 1.15rem;
    color: var(--dark-color);
    font-weight: 600;
    margin: 0;
}


.keyword-analysis-section {
    border-left-color: var(--warning-color);
}
    /* Yellow for keywords */
    .keyword-analysis-section .section-icon {
        color: var(--warning-color);
    }

.keyword-subsection {
    margin-bottom: 1.5rem;
}

    .keyword-subsection:last-child {
        margin-bottom: 0;
    }

.keyword-subtitle { /* Matched, Missing, Recommended */
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

    .keyword-subtitle i {
        margin-right: 0.5rem;
    }

        .keyword-subtitle i.fa-check-circle-custom.matched {
            color: var(--accent-color);
        }

        .keyword-subtitle i.fa-times-circle-custom.missing {
            color: var(--danger-color);
        }

        .keyword-subtitle i.fa-lightbulb-custom.recommended {
            color: var(--warning-color);
        }

.keyword-pills.modern-pills span { /* Use existing .keyword-pills styles or enhance */
    /* Example:
    background-color: #e9ecef;
    color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    */
}
/* Color overrides for modern pills based on category - ensure these take precedence or integrate */
.keyword-analysis-section .keyword-category:nth-of-type(1) .keyword-pills span, /* Matched */
.keyword-subsection:has(h4:contains('Matched')) .keyword-pills span {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}

.keyword-analysis-section .keyword-category:nth-of-type(2) .keyword-pills span, /* Missing */
.keyword-subsection:has(h4:contains('Missing')) .keyword-pills span {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
}

.keyword-analysis-section .keyword-category:nth-of-type(3) .keyword-pills span, /* Recommended */
.keyword-subsection:has(h4:contains('Recommended')) .keyword-pills span {
    background-color: #fff3cd;
    color: #664d03;
    border-color: #ffecb5;
}


.action-items-section {
    border-left-color: #17a2b8;
}
    /* Teal/Info for actions */
    .action-items-section .section-icon {
        color: #17a2b8;
    }

.action-items-list-modern {
    list-style: none;
    padding-left: 0;
}

    .action-items-list-modern li {
        display: flex;
        align-items: flex-start;
        padding: 0.75rem 0;
        border-bottom: 1px dashed var(--border-color);
        font-size: 1.05rem;
    }

        .action-items-list-modern li:last-child {
            border-bottom: none;
        }

    .action-items-list-modern .action-icon {
        color: var(--primary-color);
        margin-right: 1rem;
        margin-top: 0.2rem; /* Align with text */
        font-size: 1.1em;
    }

    .action-items-list-modern span {
        flex: 1; /* Allow text to take remaining space */
    }

/* Modern Score Card specific styles */
.score-card-modern {
    text-align: center;
    padding: 1rem 0; /* Less vertical padding as it's within a row */
}

.score-value-modern {
    font-size: 4.5rem; /* Larger score */
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

    .score-value-modern span { /* For the '%' symbol */
        font-size: 2rem;
        font-weight: 500;
        margin-left: 0.25rem;
        vertical-align: super; /* Align '%' nicely */
    }

.score-bar-container-modern {
    max-width: 500px; /* Wider bar */
    margin: 1rem auto;
    background-color: #e0e7ff; /* Lighter background for the bar track */
    border-radius: 8px;
    height: 16px; /* Thicker bar */
    overflow: hidden;
}

.score-bar-modern {
    height: 100%;
    background-image: linear-gradient(to right, var(--primary-hover), var(--primary-color)); /* Gradient for bar */
    border-radius: 8px;
    transition: width 0.8s ease-out;
}

.score-interpretation {
    font-size: 0.95rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
}


/* Report Actions (Download button) */
.report-actions-row {
    text-align: center;
    padding: 1.5rem 0; /* Add some padding around the button */
    margin-top: 1rem; /* Space above actions if it's the last element */
}

/* Error display for parsing (if needed within the partial) */
.report-parsing-error.section-card-row { /* Use section-card-row for consistency if it's a full row */
    padding: 2rem;
    text-align: center;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-left: 5px solid var(--danger-color) !important; /* Strong accent for error */
}
/* ... (Your existing styles for .error-title, .error-details) ... */


/*download report */
/* ... (Existing report styles) ... */

.report-actions-row {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color); /* Separator for actions */
}

.btn-download-pdf {
    background-color: var(--primary-color); /* Or your preferred download button color */
    color: white;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    /* ... other .btn styles you have ... */
}

    .btn-download-pdf:hover:not(.disabled-temporarily) {
        background-color: var(--primary-hover);
    }

    /* Class for button when JS is processing to avoid Blazor disabling it too early */
    .btn-download-pdf.disabled-temporarily {
        opacity: 0.65;
        pointer-events: none; /* Prevent clicks while JS is handling */
    }

    .btn-download-pdf .spinner-border-sm {
        margin-right: 0.5rem;
    }

/* In your component's CSS or global styles.css */

/* Styles specifically for when generating PDF, applied in onclone if needed,
   or general styles that might help. */

.report-section-row,
.section-feedback-item,
.keyword-subsection,
.action-items-list-modern li {
    /* This is the standard CSS property for print page breaking.
       html2canvas might not fully respect it, but it's good practice
       and can sometimes help if it influences element height calculations. */
    page-break-inside: avoid !important;
}

.section-row-header {
    page-break-after: avoid !important; /* Try not to break immediately after a main section header */
}

/* You could also try to add some 'breathing room' to elements
   to make natural break points more likely to fall between them. */
.section-feedback-item {
    margin-bottom: 15px; /* Ensure there's always some space after each item */
}

/* In PDF generation, you might want to ensure no horizontal overflow */
.resume-analysis-report-container {
    overflow-x: hidden; /* Prevent horizontal scrollbars from appearing in the canvas */
}

/* If you are using the @media print approach */
@media print {
    .report-actions-row { /* Hide download button in actual print preview/PDF */
        display: none !important;
    }
    /* Add more print-specific styles here */
    body { /* Example to remove default browser margins for print */
        margin: 0;
    }

    .report-section-row {
        box-shadow: none !important; /* Remove shadows for cleaner print */
        border: 1px solid #ccc !important; /* Simpler border for print */
        padding: 15px !important; /* Adjust padding for print if needed */
        margin-bottom: 10mm !important; /* Add some space between sections in print */
    }
}

/* --- User Resumes by MAC Page Styles --- */
.user-resumes-page-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.page-header-modern {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem 1.5rem !important; /* Consistent padding */
    background-color: var(--card-bg); /* Use card background for header too */
}

    .page-header-modern .section-title {
        /* Assuming you have global .section-title styles */
    }

    .page-header-modern .section-subtitle {
        /* Assuming you have global .section-subtitle styles */
        color: var(--secondary-color);
    }

.some-other-direct-child-of-container {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
    /* Keep vertical padding (e.g., padding-top: 2rem; padding-bottom: 2rem;) */
}

@media (min-width: calc(var(--mobile-breakpoint) + 1px)) {
    .section-card,
    .page-header-modern,
    .some-other-direct-child-of-container {
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
}
.loading-container {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-color);
}

    .loading-container .spinner { /* Ensure .spinner is defined globally */
        margin: 0 auto 1rem auto;
    }

.resumes-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Space between resume cards */
}

.resume-item-card {
    /* .section-card provides base styling (bg, shadow, border-radius, padding) */
    transition: box-shadow 0.3s ease;
}

    .resume-item-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Enhanced shadow on hover */
    }

.resume-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.resume-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    background-color: #e9f5ff; /* Light blue circle background */
    padding: 0.8rem;
    border-radius: 50%;
    width: 50px; /* Fixed size */
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resume-details {
    flex-grow: 1;
}

.resume-filename {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    word-break: break-all; /* Prevent long filenames from breaking layout */
}

.resume-jobrole {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.resume-item-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

    .resume-item-meta .upload-date i {
        margin-right: 0.4rem;
    }

.resume-item-actions {
    text-align: right; /* Align button to the right */
}

.btn-view-report {
    /* Use your .btn and .btn-primary styles */
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

    .btn-view-report.active { /* Style for when report is shown, indicating "Hide Report" */
        background-color: var(--secondary-color);
    }

        .btn-view-report.active:hover {
            background-color: var(--secondary-hover);
        }


/* Inline Report Display Styles */
.report-display-inline-container {
    margin-top: 1.5rem;
    /* background-color: #f8f9fa; Optional slightly different bg */
    /* border-radius: var(--border-radius); */
    /* padding: 1rem; */ /* Padding now handled by _ResumeReportPartial's container */
    animation: fadeInReport 0.5s ease-out;
}

.report-separator {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0));
    margin: 1rem 0 1.5rem 0;
}

@keyframes fadeInReport {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Alert styling (assuming Bootstrap-like alerts, enhance if needed) */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

    .alert i {
        margin-right: 0.5rem;
    }

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

    .alert-info.text-center .btn {
        display: inline-block;
    }




/* --- Resume Editor Page Styles --- */
.resume-editor-page-container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.editor-form fieldset.editor-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: #fdfdfd; /* Slightly off-white for sections */
}

    .editor-form fieldset.editor-section legend {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--primary-color);
        padding: 0 0.5rem; /* Give some space around legend text */
        width: auto; /* Allow legend to size based on content */
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--accent-color);
    }

        .editor-form fieldset.editor-section legend i {
            margin-right: 0.75rem;
        }

.form-row { /* For Bootstrap-like row behavior if not using Bootstrap grid */
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

    .form-row > .col-md-6 { /* If using custom col classes */
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 5px;
        padding-left: 5px;
    }

.editor-form .form-group {
    margin-bottom: 1rem;
}

    .editor-form .form-group label {
        font-weight: 500;
        color: var(--dark-color);
        margin-bottom: 0.3rem;
    }

/* Styling for list item editors (experience, education etc.) */
.skill-category-editor,
.experience-entry-editor,
.education-entry-editor,
.project-entry-editor {
    background-color: var(--card-bg); /* White background for items */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

    .skill-category-editor h5,
    .experience-entry-editor h5,
    .education-entry-editor h5,
    .project-entry-editor h5 {
        font-size: 1.1rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
        border-bottom: 1px dashed #eee;
        padding-bottom: 0.5rem;
    }

.editor-actions .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.15rem;
}
/* Resume editor design */
/* ... (Existing Resume Editor Page Styles) ... */

.list-item-editor {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    background-color: #ffffff; /* White background for items */
    position: relative; /* For absolute positioning of remove button if desired */
}

    .list-item-editor h5 { /* For titles like "Experience #1" */
        font-size: 1.1rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
        border-bottom: 1px dashed #eee;
        padding-bottom: 0.5rem;
    }

.btn-remove-item {
    /* position: absolute; */ /* Optional: if you want to position it top-right */
    /* top: 10px; */
    /* right: 10px; */
    margin-top: 0.5rem; /* If not absolutely positioned */
    display: block; /* Make it take full width or align as needed */
    margin-left: auto; /* Align to the right if block */
}

    .btn-remove-item i {
        margin-right: 0.3rem;
    }

.editor-form fieldset.editor-section > .btn-outline-primary {
    margin-top: 0.5rem; /* Space above "Add New Item" buttons */
}

/* Preview page css */
/* --- HTML Resume Preview Styles --- */
.resume-preview-document {
    font-family: 'Arial', sans-serif; /* Common resume font */
    color: #333;
    line-height: 1.5;
    padding: 20px; /* Simulates page margins */
    background-color: white; /* For PDF capture */
    border: 1px solid #ddd; /* Optional border for on-screen view */
    max-width: 800px; /* Typical document width */
    margin: 0 auto; /* Center on page */
}

.resume-header-preview {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

    .resume-header-preview h1 {
        font-size: 2em;
        color: var(--dark-color);
        margin-bottom: 5px;
        font-weight: bold;
    }

.contact-info-preview span {
    display: inline-block;
    margin: 0 10px;
    font-size: 0.9em;
    color: var(--secondary-color);
}

    .contact-info-preview span i {
        margin-right: 5px;
        color: var(--primary-color);
    }

.contact-info-preview a {
    color: var(--primary-color);
    text-decoration: none;
}

    .contact-info-preview a:hover {
        text-decoration: underline;
    }

.resume-section-preview {
    margin-bottom: 20px;
}

    .resume-section-preview h2 {
        font-size: 1.3em;
        color: var(--primary-color);
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
        margin-bottom: 10px;
        font-weight: bold;
    }

        .resume-section-preview h2 i {
            margin-right: 8px;
        }

    .resume-section-preview p,
    .resume-section-preview ul {
        margin-bottom: 10px;
    }

    .resume-section-preview ul {
        list-style-type: disc;
        padding-left: 20px;
    }

    .resume-section-preview li {
        margin-bottom: 5px;
    }

.skills-section-preview .skill-category-preview {
    margin-bottom: 8px;
}

    .skills-section-preview .skill-category-preview strong {
        color: var(--dark-color);
    }

.experience-entry-preview,
.education-entry-preview,
.project-entry-preview,
.certification-entry-preview {
    margin-bottom: 15px;
}

    .experience-entry-preview h3,
    .education-entry-preview h3,
    .project-entry-preview h3 {
        font-size: 1.1em;
        font-weight: bold;
        color: var(--dark-color);
        margin-bottom: 2px;
    }

    .experience-entry-preview .company-name-preview,
    .education-entry-preview .institution-preview {
        font-weight: normal;
        font-style: italic;
        color: var(--secondary-color);
    }

.dates-location-preview,
.graduation-date-preview,
.technologies-preview {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
}

    .technologies-preview strong {
        font-weight: bold;
    }

/* Styles for _HtmlResumePreviewPartial content specifically for PDF generation */
.resume-preview-document .resume-section-preview,
.resume-preview-document .experience-entry-preview,
.resume-preview-document .education-entry-preview,
.resume-preview-document .project-entry-preview {
    page-break-inside: avoid !important; /* Try to prevent these blocks from splitting */
}

    .resume-preview-document .resume-section-preview h2 {
        page-break-after: avoid !important; /* Try not to break right after a section title */
    }

    /* You might also want to avoid breaks before certain elements */
    .resume-preview-document .experience-entry-preview h3,
    .resume-preview-document .education-entry-preview h3,
    .resume-preview-document .project-entry-preview h3 {
        page-break-before: avoid !important; /* If a new entry starts, try to keep its heading with it */
    }

/* For the overall document, sometimes adding a little padding helps */
/* This is for the element captured by html2canvas, identified by 'resumePreviewContentToDownload' */
#resumePreviewContentToDownload {
    padding-bottom: 20px; /* Add some padding at the very end */
}
   /* partial view for resume count auto update */
/* --- Footer Reviewed Count Stats Styles --- */
.footer-reviewed-stats {
    display: inline-flex; /* To sit nicely with other footer text if needed */
    align-items: center;
    font-size: 0.8rem; /* Smaller font for footer */
    color: var(--light-color); /* Assuming dark footer background */
    opacity: 0.8; /* Slightly muted */
    padding: 2px 5px; /* Minimal padding */
    /* transition: opacity 0.3s ease; Optional hover effect */
}

    /* Optional hover effect
.footer-reviewed-stats:hover {
    opacity: 1;
}
*/

    .footer-reviewed-stats .stat-icon {
        margin-right: 0.4rem;
        font-size: 0.9em; /* Icon slightly smaller than text */
        /* color: var(--primary-color); */ /* Or keep it same as text */
    }

    .footer-reviewed-stats .stat-label {
        margin-right: 0.3rem;
    }

    .footer-reviewed-stats .stat-value {
        font-weight: 600;
        min-width: 15px; /* Space for loading dots */
        text-align: right;
    }

        .footer-reviewed-stats .stat-value.loading i {
            font-size: 0.8em; /* Small spinner */
        }

/* If your footer uses flexbox to space items: */
/*
.footer-content .footer-reviewed-stats {
    margin-left: 1rem; / * Or some margin to separate from copyright * /
}
*/

.loading-spinner {
    text-align: center;
    margin-top: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}


/* On screens larger than your mobile breakpoint, re-apply percentage width or keep max-width logic */
@media (min-width: calc(var(--mobile-breakpoint) + 1px)) { /* Or just min-width: 769px if breakpoint is 768px */
    .container {
        /* If you still want a percentage width on tablet/desktop before max-width kicks in: */
        /* width: 90%; */
        /* padding-left: var(--container-padding-desktop); */ /* No, keep this, padding is good for edges */
        /* padding-right: var(--container-padding-desktop); */
        /* The max-width and margin: 0 auto will handle the centering and width constraint.
           The padding remains important for content not touching screen edges. */
    }
}

@media (min-width: calc(var(--mobile-breakpoint) + 1px)) {
    .section-card {
        padding: 2.5rem var(--container-padding-desktop); /* Desktop padding for section cards */
    }
    /* If you removed padding from .container, you might want to add it back for desktop for overall gutter */
    /* Alternatively, rely solely on .section-card padding */
    .container {
        /* If you want a slight gutter on desktop even if section-cards are full-width *within* the container */
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
}


/* For desktop, you might want slightly more padding on these content blocks */
@media (min-width: calc(var(--mobile-breakpoint) + 1px)) {
    .upload-section,
    .feedback-report,
    .about-us,
    .support-project,
    .user-resumes-page-container > .page-header-modern,
    .user-resumes-page-container > .resumes-list-modern,
    .help-page-container > .steps-guide,
    .feedback-page-container > .feedback-layout-grid {
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
}

@media (min-width: calc(var(--mobile-breakpoint) + 1px)) {
    header.navbar .nav-container,
    footer.footer .footer-content {
        padding-left: var(--container-padding-desktop); /* Or 0 if their own max-width handles it */
        padding-right: var(--container-padding-desktop); /* Or 0 */
    }
}


.section-card,
.section-row-content, /* From your report partial */
.editor-form .form-group, /* From your editor */
.resume-preview-document p, /* From your preview */
.resume-preview-document li,
.step-content p, /* From help page */
.faq-item p,
.story-content p,
.mvv-item p,
.ai-step p,
.support-explanation .explanation-text p {
    font-size: 0.925rem; /* Approx 14.8px. Adjust to your preference. */
    line-height: 1.65; /* Slightly increase line-height for smaller fonts for readability */
}

/* You might need to adjust line-height on specific list items too if they look cramped */
.feedback-list li,
.action-items-list-modern li,
.tips-for-success ul li {
    font-size: 0.925rem; /* If they didn't inherit */
    line-height: 1.6;
}

/* For text inside input fields (if not already covered by .form-control) */
.form-control {
    font-size: 0.9rem; /* Make form inputs slightly smaller too */
}

/* --- Small Button Modern Style (.btn-sm) --- */
.btn-sm {
    padding: 0.35rem 0.8rem; /* Reduced padding for smaller buttons */
    font-size: 0.8rem; /* Smaller font size */
    font-weight: 500; /* Potentially slightly less bold */
    border-radius: calc(var(--border-radius) - 2px); /* Slightly smaller radius, or keep same */
}

    .btn-sm i {
        margin-right: 0.35rem; /* Reduced icon margin */
        font-size: 0.85em; /* Icon size relative to .btn-sm font */
    }

        .btn-sm i:only-child {
            margin-right: 0;
        }


/* Apply .btn-sm to your specific small buttons, for example: */
.btn-remove-item { /* From ResumeEditorPage */
    /* Combine with .btn and color classes */
    /* e.g., <button class="btn btn-danger btn-sm btn-remove-item"> */
}

.btn-copy-vpa { /* From UPI Partial */
    /* This was unstyled, let's make it a small icon button */
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.25rem 0.4rem; /* Small padding for clickable area */
    font-size: 0.9rem; /* Adjust icon size */
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .btn-copy-vpa:hover {
        color: var(--primary-hover);
        background-color: rgba(0,123,255,0.1); /* Subtle hover background */
    }


/* Modern Outline Buttons (if you use them) */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

    .btn-outline-primary:hover:not(:disabled) {
        background-color: var(--primary-color);
        color: white;
    }

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: transparent;
}

    .btn-outline-secondary:hover:not(:disabled) {
        background-color: var(--secondary-color);
        color: white;
    }

    /* Ensure these outline buttons also work with .btn-sm */
    .btn-outline-primary.btn-sm,
    .btn-outline-secondary.btn-sm {
        /* .btn-sm already handles padding and font-size */
    }

/* In .report-actions-row (styles.css) */
.report-actions-row {
    /* ... existing styles ... */
    gap: 1rem; /* Ensure enough gap for multiple buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.btn-create-cover-letter {
    /* Uses .btn and .btn-info (Bootstrap class for light blue/teal) */
}

    .btn-create-cover-letter.disabled-temporarily,
    .btn-generate-resume.disabled-temporarily { /* Ensure consistent styling for JS disabled state */
        opacity: 0.65;
        pointer-events: none;
    }

    .btn-create-cover-letter .spinner-border-sm,
    .btn-generate-resume .spinner-border-sm {
        margin-right: 0.5rem;
    }

/* Cover Letter Modal specific adjustments if needed */
.modal-body .form-label strong { /* For the job description label in modal */
    font-weight: 600;
    color: var(--dark-color);
}

#generatedCLTextArea {
    min-height: 300px; /* Ensure text area is reasonably sized */
    font-family: 'Georgia', serif; /* More traditional letter font */
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Candidate Information Section in Report --- */
.candidate-info-section {
    border-left-color: var(--secondary-color) !important; /* Muted grey accent for info */
}

    .candidate-info-section .section-icon {
        color: var(--secondary-color) !important;
    }

.candidate-info-list {
    list-style: none;
    padding-left: 0;
    font-size: 1rem; /* Slightly smaller than main content if desired, or keep same (1.05rem) */
}

    .candidate-info-list li {
        display: flex;
        align-items: center;
        margin-bottom: 0.6rem;
        padding: 0.4rem 0;
        border-bottom: 1px dashed #f0f0f0; /* Subtle separator */
    }

        .candidate-info-list li:last-child {
            border-bottom: none;
        }

        .candidate-info-list li strong {
            font-weight: 600;
            color: var(--dark-color);
            min-width: 180px; /* Adjust for alignment of values */
            display: inline-flex; /* To align icon with text */
            align-items: center;
        }

            .candidate-info-list li strong i {
                margin-right: 0.75rem;
                color: var(--primary-color); /* Or var(--secondary-color) */
                width: 20px; /* Icon alignment */
                text-align: center;
            }

        .candidate-info-list li a {
            color: var(--primary-color);
            text-decoration: none;
            word-break: break-all; /* Break long URLs */
        }

            .candidate-info-list li a:hover {
                text-decoration: underline;
            }


/* --- Feature Highlight Section Styles --- */
.feature-highlight-section {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(40, 167, 69, 0.05)); /* Subtle gradient background */
    border: 1px solid var(--border-color);
    margin-top: 2rem; /* Space after upload section */
    text-align: center;
}

    .feature-highlight-section .section-title-like { /* Optional: if you want a title for this section */
        font-size: 1.8rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
    }

.feature-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; /* Space between feature items */
    margin-bottom: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background-color: var(--card-bg); /* White cards for features */
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

.feature-icon-container {
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 2.8rem; /* Prominent icons */
    color: var(--primary-color); /* Default icon color */
    padding: 0.8rem;
    /* background-color: #e9f5ff; */ /* Optional light background for icon */
    /* border-radius: 50%; */
    /* width: 70px; */
    /* height: 70px; */
    /* display: inline-flex; */
    /* align-items: center; */
    /* justify-content: center; */
}

.feature-item.accent-feature .feature-icon {
    color: var(--accent-color); /* Green for the "AI-Crafted Resume" feature */
}
/* You can add more specific icon colors if desired */
/* .feature-item:nth-child(3) .feature-icon { color: var(--warning-color); } */


.feature-item h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.highlight-cta-note {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    font-weight: 500;
}

    .highlight-cta-note strong {
        color: var(--primary-color);
    }

/* Adjust placeholder if it was removed */
.report-placeholder.section-card { /* This might have been removed */
    text-align: center;
    padding: 3rem 1rem;
}


/* --- Upload Section Styles --- */
/* ... (your existing .upload-section, .form-group-container styles) ... */

.upload-actions-row {
    display: flex;
    justify-content: center; /* Center buttons if only one, or space them */
    align-items: center;
    gap: 1rem; /* Space between buttons */
    margin-top: 1.5rem; /* Space above the button row */
    flex-wrap: wrap; /* Allow buttons to wrap on small screens */
}

.btn-analyze,
.btn-view-uploads {
    /* Flex properties to make them behave well in a row,
       but your base .btn class might already handle display: inline-block or inline-flex */
    /* Example: If you want them to take up proportional space: */
    /* flex-grow: 1; */
    /* max-width: 350px; */ /* If using flex-grow, set a max-width */
    /* For fixed width buttons, your existing max-width on .btn-analyze is fine.
       The .btn-view-uploads can adopt similar styling or be distinct. */
}

.btn-view-uploads {
    /* Uses .btn and .btn-outline-secondary (Bootstrap-like classes) */
    /* Or define custom styling */
    /* background-color: transparent; */
    /* border-color: var(--secondary-color); */
    /* color: var(--secondary-color); */
}

    /* .btn-view-uploads:hover {
    background-color: var(--secondary-color);
    color: white;
} */

    .btn-view-uploads i {
        margin-right: 0.5rem;
    }


/* --- Simple Resume Builder Page Styles --- */
.simple-builder-container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

    .simple-builder-container .page-header-modern {
        margin-bottom: 2rem;
    }

    .simple-builder-container .editor-section { /* Reusing editor-section for consistency */
        margin-bottom: 2rem;
        padding: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        background-color: #fdfdfd;
    }

        .simple-builder-container .editor-section legend {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary-color);
            padding: 0 0.5rem;
            width: auto;
            margin-bottom: 1rem;
        }

    .simple-builder-container .form-actions .btn-lg {
        padding: 0.8rem 2.5rem;
        font-size: 1.1rem;
    }

.btn-accent { /* Your existing .btn-accent or .btn-pro */
    background-color: var(--accent-color);
    color: white;
}

    .btn-accent:hover:not(:disabled) {
        background-color: var(--accent-hover);
    }

.upload-actions-row .btn-create-new-resume {
    /* Any specific styling if needed, or rely on .btn and .btn-accent */
}

.public-resume-view-container {
    max-width: 900px; /* Or your preferred width for public resume */
    margin: 2rem auto;
    background-color: #fff; /* Ensure white background for content area */
    padding: 0; /* Padding will be handled by the preview partial if any */
}

.public-view-footer {
    border-top: 1px solid #eee;
}

    .public-view-footer a {
        font-weight: 500;
    }
/* Ensure your _HtmlResumePreviewPartial styles are globally available or imported */


/* --- Share Resume Section --- */
.share-resume-section {
    background-color: #f0f6ff; /* Light blue background */
    border-top: 2px solid var(--primary-color);
}

    .share-resume-section .subsection-title-sm { /* Smaller title for this section */
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        text-align: left;
    }

.public-link-info p {
    margin-bottom: 0.5rem;
}

.public-link-info .input-group .form-control {
    background-color: white; /* Ensure readable if parent bg is colored */
    font-size: 0.9rem;
}

.public-link-info .input-group button {
    font-size: 0.9rem;
}

.public-link-prompt {
    width: 100%; /* Make the wrapper take full width within the flex row to center its content */
    margin-top: 1rem; /* Add some space above this prompt block */
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-color); /* Optional separator */
}

    .public-link-prompt p.small {
        font-size: 0.85rem; /* Make the note text slightly smaller */
        margin-bottom: 0.5rem !important; /* Reduce space between note and button */
    }

    .public-link-prompt .btn-outline-success {
        /* Style for the "Create/Manage Public Link & QR" button */
        /* It already uses btn and btn-outline-success */
        font-weight: 500; /* Slightly less bold than primary actions */
    }


.qr-code-display {
    min-height: 160px; /* Placeholder size for QR code */
    min-width: 160px;
    display: inline-block; /* Or flex center */
    margin: 0 auto; /* Center if block */
    padding: 10px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

    .qr-code-display img, .qr-code-display canvas { /* qrcode.js might generate either */
        display: block;
        margin: 0 auto;
    }

.share-resume-section .btn-sm {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
}

.share-resume-section .alert {
    font-size: 0.9rem;
}

.search-resumes-section {
    background-color: #f8f9fa; /* Light background for search area */
}

    .search-resumes-section .subsection-title-sm { /* If you use a title class */
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .search-resumes-section .input-group .form-control {
        border-right: none; /* For seamless button attachment */
    }

    .search-resumes-section .input-group .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .search-resumes-section .alert.small {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }


/* --- User Session Status Widget Styles --- */
.user-session-status-widget {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem; /* Default padding */
    font-size: 0.85rem;
}

    .user-session-status-widget .user-greeting,
    .user-session-status-widget .device-info {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--text-color); /* Default text color */
    }

        .user-session-status-widget .user-greeting i {
            font-size: 1.1em; /* Make icon slightly larger */
        }

    .user-session-status-widget .btn-link {
        font-size: 0.8em;
        text-decoration: none;
        padding: 0.1rem 0.3rem;
    }

        .user-session-status-widget .btn-link:hover {
            text-decoration: underline;
        }


/* Homepage Email Search Specific Styling */
.homepage-session-search {
    flex-direction: column; /* Stack elements vertically */
    align-items: stretch; /* Make input group take full width */
    width: 100%;
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

    .homepage-session-search .user-greeting, /* Hide status part if only showing search */
    .homepage-session-search .device-info,
    .homepage-session-search .btn-link { /* Hide switch user button */
        display: none;
    }

    .homepage-session-search .email-search-form {
        margin-top: 0; /* No top margin if it's the only thing shown */
        border-top: none;
        padding-top: 0;
    }

    .homepage-session-search .input-group .form-control {
        font-size: 1rem; /* Larger input for homepage */
        padding: 0.6rem 1rem;
    }

    .homepage-session-search .input-group .btn {
        padding: 0.6rem 1rem;
    }

.spinner-border-xs { /* Extra small spinner for search button */
    width: 0.8rem;
    height: 0.8rem;
    border-width: .15em;
}

/* Ensure .section-card, .btn, .form-control, .input-group are styled globally */

/* --- Simple Steps / Flow Section Styles --- */
.simple-steps-section {
    background-color: #ffffff; /* Or var(--light-alt-bg) */
}

.steps-flow-container {
    display: flex;
    flex-direction: column; /* Stack steps vertically by default */
    align-items: center; /* Center items if container is wider */
}

.step-flow-item {
    display: flex;
    align-items: flex-start; /* Align icon with top of text */
    margin-bottom: 1.5rem; /* Space between step and connector below it */
    max-width: 600px; /* Control width of each step item */
    width: 100%;
    position: relative; /* For numbering and icon positioning */
    padding: 1rem 0; /* Some vertical padding within the item */
}

.step-flow-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem; /* Space between icon/number and text */
    flex-shrink: 0; /* Prevent icon wrapper from shrinking */
    width: 70px; /* Fixed width for the icon area */
}

.step-flow-number {
    background-color: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,123,255,0.3);
    z-index: 2; /* Above connector line */
}

.step-flow-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    /* background-color: rgba(0,123,255,0.1); */ /* Optional icon background */
    /* padding: 0.8rem; */
    /* border-radius: 12px; */
    /* width: 60px; */
    /* height: 60px; */
    /* line-height: 60px; */
    /* text-align: center; */
    z-index: 2;
}

.step-flow-content {
    flex-grow: 1;
}

    .step-flow-content h4 {
        font-size: 1.25rem;
        color: var(--dark-color);
        font-weight: 600;
        margin-bottom: 0.4rem;
    }

    .step-flow-content p {
        font-size: 0.95rem;
        color: var(--text-color);
        line-height: 1.6;
        margin-bottom: 0;
    }

.step-flow-connector {
    width: 2px; /* Thickness of the line */
    height: 40px; /* Length of the line connecting steps */
    background-color: var(--primary-color-soft, #ddeaff); /* Light color for the line */
    margin: -0.5rem auto 1rem auto; /* Position between items, adjust vertical margin */
    /* margin-left: calc( (70px / 2) - 1px ); /* Align with center of icon wrapper if items are not centered */
}

/* Hide the last connector */
.step-flow-item:last-of-type + .step-flow-connector, /* If connector is after item */
.steps-flow-container > .step-flow-connector:last-of-type { /* If connector is a direct child */
    display: none;
}


/* Responsive adjustments for the flow */
@media (min-width: 768px) { /* md screens and up */
    .steps-flow-container {
        /* Optional: could make it horizontal on larger screens if designed well,
           but vertical often remains clearer for step-by-step.
           If horizontal:
           flex-direction: row;
           justify-content: space-between;
           align-items: flex-start;
        */
    }
    /* If keeping vertical, no major changes needed, max-width on items handles it. */
}

@media (max-width: 576px) { /* xs screens */
    .step-flow-item {
        flex-direction: column; /* Stack icon above text on very small screens */
        align-items: center;
        text-align: center;
    }

    .step-flow-icon-wrapper {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .step-flow-connector {
        /* margin-left: auto; */ /* Recenter if needed */
    }
}



/* --- Homepage Hero Section v3 (Revised and Enhanced) --- */
.hero-v3 {
    background-color: #f8f9fc; /* A very light, almost white, modern off-white */
    /* Or a subtle gradient:
    background-image: linear-gradient(135deg, #eef2f7 0%, #f8f9fc 100%); */
    padding: 5rem 0; /* Default padding */
    text-align: center; /* Center text by default for mobile */
    overflow: hidden; /* Prevent image overflow issues */
}

.hero-v3-content {
    display: flex;
    flex-direction: column; /* Stack text and image on mobile */
    align-items: center;
    gap: 2rem; /* Space between text block and image block on mobile */
}

.hero-v3-text {
    max-width: 680px; /* Control text width for readability */
    margin-bottom: 1rem; /* Space before image on mobile */
}

.hero-v3-title {
    font-size: 2.6rem; /* Responsive base size */
    font-weight: 700; /* Bold and impactful */
    color: var(--dark-color); /* Dark, readable text */
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px; /* Subtle tightening of letter spacing */
}

    .hero-v3-title .highlight-v3 {
        color: var(--primary-color); /* Use your primary brand color */
        /* For a subtle underline effect: */
        /* display: inline-block; */
        /* border-bottom: 3px solid var(--warning-color); */
        /* padding-bottom: 2px; */
    }

.hero-v3-subtitle {
    font-size: 1.15rem; /* Readable subtitle */
    color: var(--text-color); /* Good contrast */
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 600px; /* Keep subtitle lines from getting too long */
    margin-left: auto;
    margin-right: auto;
}

.hero-v3-cta {
    margin-bottom: 1.5rem;
}

    .hero-v3-cta .btn {
        margin: 0.5rem 0.75rem; /* Spacing between buttons */
        padding: 0.85rem 2rem; /* Slightly larger padding for primary CTAs */
        font-size: 1rem; /* Standard button font size */
        font-weight: 600;
        border-radius: 25px; /* Softly rounded buttons */
        min-width: 230px; /* Give buttons some presence */
        transition: all 0.3s ease; /* Smooth transitions for all properties */
        text-transform: uppercase; /* Optional: for a more formal CTA look */
        letter-spacing: 0.5px;
    }

    .hero-v3-cta .hero-main-cta { /* Your primary button */
        background-color: var(--primary-color);
        color: white;
        border: 2px solid var(--primary-color);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2); /* Subtle shadow */
    }

        .hero-v3-cta .hero-main-cta:hover {
            background-color: var(--primary-hover);
            border-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
        }

    .hero-v3-cta .hero-secondary-cta { /* Your link-style button */
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
        padding: 0.85rem 1rem; /* Give it some clickable area */
        border: 2px solid transparent; /* For hover alignment */
    }

        .hero-v3-cta .hero-secondary-cta:hover {
            color: var(--primary-hover);
            text-decoration: underline; /* Or a background change */
            /* background-color: rgba(0,123,255,0.05); */
            /* border-radius: 25px; */
        }

        .hero-v3-cta .hero-secondary-cta i {
            margin-left: 0.4rem;
            font-size: 0.85em;
            transition: transform 0.2s ease-out;
        }

        .hero-v3-cta .hero-secondary-cta:hover i {
            transform: translateX(4px);
        }

.hero-v3-subnote {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

    .hero-v3-subnote i {
        color: var(--accent-color); /* Green checkmark */
        margin-right: 0.3rem;
    }

    .hero-v3-subnote .ms-3 { /* Bootstrap margin start utility */
        margin-left: 1rem !important;
    }


.hero-v3-image-container {
    max-width: 500px; /* Control image size on mobile */
    width: 90%; /* Percentage based for smaller screens */
    margin-top: 1rem; /* Space above image on mobile */
}

.hero-v3-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius); /* Optional subtle rounding */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); Optional subtle shadow for image */
}

/* Desktop Layout for Hero v3 */
@media (min-width: 992px) { /* lg breakpoint */
    .hero-v3 {
        padding: 7rem 0; /* More vertical padding on desktop */
        text-align: left; /* Align text to the left */
    }

    .hero-v3-content {
        flex-direction: row; /* Side-by-side */
        justify-content: space-between; /* Space them out */
        align-items: center;
        gap: 4rem; /* Increased gap on desktop */
    }

    .hero-v3-text {
        flex-basis: 55%; /* Give more space to text */
        max-width: none; /* Allow text block to use its flex basis */
        margin-bottom: 0;
    }

    .hero-v3-title {
        font-size: 3.2rem; /* Larger title on desktop */
    }

    .hero-v3-subtitle {
        font-size: 1.25rem;
        margin-left: 0; /* Align with left-aligned title */
        margin-right: 0;
        max-width: none;
    }

    .hero-v3-cta {
        text-align: left; /* Align buttons to the left */
    }

        .hero-v3-cta .btn {
            margin-left: 0; /* First button aligns left */
            margin-right: 1rem; /* Space between buttons */
        }

            .hero-v3-cta .btn:last-child {
                margin-right: 0;
            }

    .hero-v3-image-container {
        flex-basis: 40%; /* Space for the image */
        max-width: 500px; /* Still control max image size */
        margin-top: 0;
        width: 100%;
    }
}

@media (max-width: 767px) { /* Specific mobile adjustments */
    .hero-v3-title {
        font-size: 2.2rem; /* Slightly smaller title on mobile */
    }

    .hero-v3-subtitle {
        font-size: 1.05rem;
    }

    .hero-v3-cta .btn {
        display: block; /* Stack buttons on very small screens */
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.75rem; /* Space when stacked */
    }

        .hero-v3-cta .btn:last-child {
            margin-bottom: 0;
        }
}
/* Ensure other section styles from previous examples are available (hero-v3, section-padding, etc.) */


/* Basic Input Group styling */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

    .input-group > .form-control {
        position: relative;
        flex: 1 1 auto;
        width: 1%;
        min-width: 0;
    }

        .input-group > .form-control:not(:last-child) {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

    .input-group > .btn { /* Or input-group-text */
        position: relative;
        z-index: 2;
    }

        .input-group > .btn:not(:first-child) {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            margin-left: -1px; /* Overlap border */
        }

.btn-lg {
    padding: 0.9rem 2.2rem; /* Example */
    font-size: 1.1rem; /* Example */
}

p a { /* Or a more specific selector for content links */
    text-decoration: underline;
}

    p a:hover {
        /* color is already handled by global a:hover */
    }

.section-card p a,
.section-row-content p a,
/* any other main content text areas */
.some-text-content-class a {
    text-decoration: underline;
    text-decoration-color: var(--primary-color-transparent, rgba(0,123,255,0.5)); /* Optional: subtle underline */
    text-underline-offset: 3px; /* Optional: better spacing */
}

    .some-text-content-class a:hover {
        text-decoration-color: var(--primary-hover);
    }

/* Example for buttons and links */
.btn:focus-visible,
a:focus-visible,
.nav-link:focus-visible { /* Use focus-visible for better UX */
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Optional, similar to inputs */
}
/* For elements that shouldn't have the default outline if you provide a strong focus style */
.btn:focus, a:focus, .nav-link:focus {
    /* outline: none; /* Only if you have a very clear focus-visible style */
}

/* For star rating */
.star-rating-input .star:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 1px;
    /* Or change color/background subtly */
    /* background-color: rgba(0,123,255,0.1); */
}

.job-role-group .form-control:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.section-card {
    padding: 2rem var(--container-padding-mobile);
    /* ... */
}

@media (min-width: calc(var(--mobile-breakpoint) + 1px)) {
    .section-card {
        padding: 2.5rem var(--container-padding-desktop);
    }
}


@media (min-width: calc(var(--mobile-breakpoint) + 1px)) {
    .section-card {
        padding: 2.5rem var(--container-padding-desktop); /* Desktop padding for section cards */
    }

    .container {
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
}
/* For desktop, you might want slightly more padding on these content blocks */
@media (min-width: calc(var(--mobile-breakpoint) + 1px)) {
    .upload-section, /* ... and many others ... */ {
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
}

/* --- Existing Uploads Note Styles --- */
.existing-uploads-note {
    background-color: #e6f7ff; /* Light, informative blue */
    border-color: #b3e0ff;
    color: #004085; /* Darker blue text for contrast */
    margin-top: 1rem; /* Space above the note if it appears */
    margin-bottom: 2rem; /* Space below the note */
    padding: 1rem 1.25rem;
}

    .existing-uploads-note .d-flex { /* Using Bootstrap flex for layout */
        gap: 1rem; /* Space between icon and text block */
    }

    .existing-uploads-note i.fa-history {
        color: var(--primary-color); /* Or #0056b3 for a slightly deeper blue */
        opacity: 0.8;
    }

    .existing-uploads-note strong {
        font-weight: 600;
    }

    .existing-uploads-note .alert-link {
        font-weight: 600;
        color: var(--primary-hover); /* Make link distinct */
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .existing-uploads-note .alert-link:hover {
            color: #004185; /* Darker on hover */
        }

        .existing-uploads-note .alert-link i {
            margin-left: 0.25rem;
            font-size: 0.9em;
        }


.search-resumes-section .search-options {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between label and radio buttons */
    flex-wrap: wrap;
}

    .search-resumes-section .search-options label.me-2 { /* Label "Search by:" */
        font-weight: 500;
    }

.search-resumes-section .form-check-inline {
    padding-left: 0; /* Reset Bootstrap's default if needed */
}

.search-resumes-section .form-check-input {
    margin-top: 0.15em; /* Align radio better with label text */
    margin-right: 0.3em;
}

.spinner-border-xs { /* If not already defined */
    width: 1em;
    height: 1em;
    border-width: .15em;
    vertical-align: -0.125em; /* Align spinner better with text */
}

.btn-draft-message, /* Or use existing .btn-info, .btn-warning */
.btn-create-cover-letter { /* If you renamed it */
    /* background-color: var(--warning-color); */
    /* color: var(--dark-color); */
}
/* Spinner alignment in modal buttons */
.modal-footer .btn .spinner-border-sm {
    margin-right: 0.5rem;
    vertical-align: -0.125em;
}

/* --- Action Follow-up Note Styles --- */
.action-followup-note {
    margin-top: 1.5rem; /* Space above the note */
    padding: 1rem;
    background-color: #f0f5fa; /* A very light, slightly different blue/grey */
    border-radius: var(--border-radius);
    border: 1px solid #dae3ec;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

    .action-followup-note i.fa-sparkles.text-accent, /* For MyResumesPage */
    .action-followup-note i.fa-lightbulb.text-warning { /* For ReportPartial */
        font-size: 1.2em; /* Make the leading icon a bit bigger */
        /* me-2 class from Bootstrap provides margin */
    }

    .action-followup-note strong {
        color: var(--primary-color); /* Or var(--dark-color) */
        font-weight: 600;
    }

/* Specific for the note in the report partial with a list */
.report-partial-note ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

    .report-partial-note ul li {
        margin-bottom: 0.3rem;
        display: flex;
        align-items: center;
        font-size: 0.88rem; /* Slightly smaller for list items */
    }

        .report-partial-note ul li i.fa-check {
            margin-right: 0.5rem;
            font-size: 0.8em; /* Smaller check icon */
        }

/* If the note is within a .resume-item-actions (MyResumesPage) */
.resume-item-actions .action-followup-note {
    margin-left: -0.5rem; /* Adjust to align with card padding if card has padding */
    margin-right: -0.5rem;
    margin-bottom: -1.5rem; /* If it's the last element in card */
    border-bottom-left-radius: var(--border-radius); /* Keep card rounding */
    border-bottom-right-radius: var(--border-radius);
    border-top: 1px solid #dae3ec; /* Separator from actions */
    padding: 0.75rem 1.5rem; /* Match card padding */
    border-left: none;
    border-right: none;
    border-bottom: none; /* Remove side/bottom borders if inside card */
}

/* --- Resume Item Actions Styles --- */

.mrp-section-header-with-edit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem; /* Adjust as needed */
}

    .mrp-section-header-with-edit .mrp-section-title,
    .mrp-section-header-with-edit .mrp-section-title-sidebar,
    .mrp-section-header-with-edit .mrp-name,
    .mrp-section-header-with-edit .mrp-entry-title,
    .mrp-section-header-with-edit .mrp-entry-title-sidebar {
        margin-bottom: 0 !important; /* Remove bottom margin if it's a flex item */
        flex-grow: 1; /* Allow title to take space */
    }

.btn-icon-edit {
    background-color: transparent;
    border: none;
    color: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem; /* Small icon */
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6; /* Subtle by default */
    transition: opacity 0.2s ease, color 0.2s ease;
    margin-left: 0.5rem; /* Space from title */
}

.modern-resume-preview-v2:hover .btn-icon-edit, /* Show on hover of the whole resume */
.mrp-section-header-with-edit:hover .btn-icon-edit { /* Or hover of the header */
    opacity: 1;
}

.btn-icon-edit:hover {
    opacity: 1;
    color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.05); /* Subtle hover background */
}

.btn-icon-edit-item { /* For edit buttons on individual list items */
    font-size: 0.75rem;
    padding: 0.05rem 0.25rem;
}

.placeholder-text {
    color: #999;
    font-style: italic;
}
.placeholder-text.small {
    font-size: 0.85em;
    padding: 0.5rem 0;
}

@media (min-width: calc(var(--mobile-breakpoint) + 1px)) {
    .container {
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
}


/* --- Manage Public Links Page Styles --- */
.manage-public-links-page {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.create-new-link-section, .existing-links-section {
    /* Uses .section-card base */
}

    .create-new-link-section .subsection-title-sm,
    .existing-links-section .subsection-title-sm {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-color);
    }

.public-link-item {
    background-color: #fff; /* White background for each item */
    border-radius: var(--border-radius);
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); Removed to use list-group-item's default */
}

    .public-link-item .link-title {
        font-weight: 600;
        color: var(--dark-color);
        font-size: 1.1rem;
    }

    .public-link-item .input-group {
        max-width: 500px; /* Limit width of URL input */
    }

        .public-link-item .input-group .form-control {
            background-color: var(--light-color); /* Readonly field bg */
        }

    .public-link-item .link-meta .badge {
        font-size: 0.75em;
        padding: 0.3em 0.5em;
    }

.qr-code-area-list {
    /* Styles for the area holding QR and download button */
}

.qr-code-display-small {
    min-height: 100px;
    min-width: 100px;
    max-width: 100px; /* Small QR for list view */
    padding: 5px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin: 0 auto 0.5rem auto; /* Center it */
}

    .qr-code-display-small img, .qr-code-display-small canvas {
        display: block;
        margin: 0 auto;
    }

.link-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start; /* Align actions to left */
    flex-wrap: wrap;
}

    .link-actions .btn-sm {
        /* font-size: 0.75rem; /* Even smaller buttons for actions */
        /* padding: 0.25rem 0.6rem; */
    }

.list-group-item { /* Bootstrap class, ensure it's styled or override */
    border-width: 1px;
    /* Add more styling if not using full Bootstrap CSS */
}

