/* Importing fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700&family=Inter:wght@400;500&display=swap');

/* Custom styles for Your New Career application */

/* Color variables - Royal Blue & Gold Palette */
:root {
    /* Primary Colors */
    --primary: #0033A0;
    --primary-dark: #002266;
    --primary-light: #336BC7;
    --primary-lighter: #5B85D6;
    --primary-darker: #001133;
    --primary-500: #0033A0;
    
    /* Secondary (Gold) Colors */
    --secondary: #B68F61;
    --secondary-light: #D4B184;
    --secondary-lighter: #E8D0B3;
    --secondary-dark: #8B6B3E;
    --secondary-darker: #5A4426;
    
    /* Accent Colors */
    --accent-teal: #0D9488;
    --accent-coral: #F97316;
    
    /* Semantic Colors (unchanged as requested) */
    --success: #059669;
    --warning: #D97706;
    --danger: #DC2626;
    --error: #DC2626;
    --info: #336BC7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E5E7EB;
    --gray: #9CA3AF;
    --gray-light: #F8F9FA;
    --gray-medium: #E5E7EB;
    --gray-dark: #4B5563;
    --dark-gray: #4B5563;
    --charcoal: #1F2937;
    --black: #111827;
}

/* Body background with subtle pattern */
body {
    font-family: 'Inter', sans-serif;
    background-color: white;
}

/* Consistent typography helpers for long-form reports */
.report-section-title {
    font-family: 'Archivo', sans-serif;
    font-size: 1.75rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.report-subheading {
    font-family: 'Archivo', sans-serif;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--charcoal);
}

.report-subheading-small {
    font-family: 'Archivo', sans-serif;
    font-size: 1.125rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--charcoal);
}

/* Header styling with gradient */
header {
    background: white;
    color: black;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: 56px;
    font-size: 18px;
}

/* Full analysis page header fixes */
header a,
header a:hover {
    color: black !important;
    font-weight: 600;
    
}

header nav {
    color: black !important;
    font-weight: 600;
    position: relative;
    margin-left: 31px;
}

header nav a, 
header nav a:hover {
    font-size: 14px; 
    line-height: 20px;
}

header nav a:hover {
    color: var(--secondary) !important;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
}

/* Card styling */
.bg-white {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

/* Animation for transitions */
.tab-content, .step, .results-tab-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 0;
}

.tab-content {
    margin-bottom: 2rem;
}

.tab-content > div {
    margin-bottom: 0;
}

/* Career Analysis Results Page Styles */
.skill-item {
    margin-bottom: 1.5rem;
}

.career-path-card {
    transition: box-shadow 0.2s ease-in-out;
}

.career-path-card:hover {
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

.career-path-details {
    transition: all 0.3s ease-in-out;
}

/* Ensure career path descriptions are not truncated */
.career-path-details p {
    white-space: normal;
    overflow: visible;
    height: auto;
    max-height: none;
    word-wrap: break-word;
    line-height: 1.5;
}

/* Progress circle animation */
.progress-circle {
    transition: stroke-dasharray 0.6s ease-in-out;
}

/* Custom focus styles */
textarea:focus, input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.25);
}

/* Custom scrollbar */
textarea {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-medium) var(--gray-light);
    border-radius: 0.5rem;
}

textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb {
    background-color: var(--gray-medium);
    border-radius: 4px;
}

/* Competency bar animations */
.bg-blue-600 {
    background-color: var(--primary) !important;
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Button styling with gradient */
button[type="submit"], .bg-blue-600, a.bg-blue-600 {
    transition: all 0.3s ease;
    border: none !important;
}

button[type="submit"]:hover, a.bg-blue-600:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 160, 0.3);
}

button{
    font-size: 14px; 
    font-weight: 500; 
}

/* --- Anonymous locks for quick analysis --- */
.yny-locked-block {
    position: relative;
}

.yny-locked-content {
    filter: blur(3px);
}

.yny-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0.5rem;
}

.yny-lock-overlay-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151; /* gray-700 */
    font-weight: 600;
}

.yny-lock-overlay-inner .yny-lock-icon {
    width: 18px;
    height: 18px;
    color: #6B7280; /* gray-500 */
}

.yny-lock-link {
    color: var(--primary);
    text-decoration: underline;
}

.yny-locked-li {
    position: relative;
}

/* New standardized button styles */
.button {
    padding: 8px 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-family: Inter; 
    font-size: 14px; 
    line-height: 22px; 
    font-weight: 500; 
    color: #FFFFFFFF; /* white */
    background: var(--primary);
    opacity: 1; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.button-primary {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    min-width: 200px;
}

.button-premium {
    background: var(--secondary);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    min-width: 200px;
    border: 2px solid transparent;
}

.button-premium:hover {
    background: var(--secondary-light);
    color: var(--charcoal);
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(182, 143, 97, 0.35);
}

.button-premium:active {
    background: var(--secondary-dark);
    color: white;
}

.button-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 22px;
    font-size: 16px;
    min-width: 200px;
}

.button-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px var(--secondary-light);
}

/* Hover */
.button:hover {
    color: #FFFFFFFF; /* white */
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 160, 0.3);
}

/* Pressed */
.button:hover:active {
    color: #FFFFFFFF; /* white */
    background: var(--primary-dark);
}

/* Disabled */
.button:disabled {
    opacity: 0.4; 
    cursor: not-allowed;
}

/* ===== NEW LANDING PAGE STYLES ===== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    display: block;
}

.hero-title-main {
    display: block;
    color: white;
    margin-bottom: 8px;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(182, 143, 97, 0.3);
}

.hero-subtitle-container {
    margin-bottom: 32px;
}

.hero-subtitle-primary {
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-subtitle-primary strong {
    color: var(--secondary);
    font-weight: 700;
}

.hero-subtitle-secondary {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.text-highlight {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero-description-container {
    margin-bottom: 48px;
    position: relative;
}

.hero-description-highlight {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(182, 143, 97, 0.4);
    position: relative;
}

.hero-description-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--secondary);
    border-radius: 1px;
}

.hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description-cta {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 500;
    color: var(--secondary-light);
    margin: 0;
}

.hero-form-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 48px auto;
    max-width: 800px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    color: var(--black);
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero-form {
    margin: 0;
    width: 100%;
}

.hero-form #cv-input-container {
    width: 100%;
}

.hero-form textarea {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

.hero-form .button {
    box-sizing: border-box;
}

.hero-cta-section {
    margin-top: 32px;
    text-align: center;
}

.hero-info-text {
    font-size: 14px;
    color: var(--gray-dark);
    margin-bottom: 24px;
}

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

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Common Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 24px;
    color: var(--black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 2px;
}

.section-intro {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 48px;
    color: var(--gray-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 32px;
    color: var(--gray-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.features-intro {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    text-align: center;
    margin: 48px 0 32px;
    color: var(--black);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.cta-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--black);
}

/* Free Report Section */
.free-report-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.feature-card {
    background: white;
    padding: 36px 32px 32px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card {
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 12px 12px 0 0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary);
}

.feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
}

/* Extended Report Section */
.extended-report-section {
    padding: 80px 0;
    background: white;
}

.extended-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.extended-feature-card {
    background: var(--light-gray);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.extended-feature-card::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

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

.extended-feature-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}

.extended-feature-description {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-dark);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 48px;
    color: var(--secondary);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
    font-style: italic;
    margin: 0;
    padding-top: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    
    .hero-title-main,
    .hero-title-accent {
        display: inline;
    }
    
    .hero-title-main::after {
        content: ' ';
    }
    
    .hero-subtitle-container {
        margin-bottom: 24px;
    }
    
    .hero-description-container {
        margin-bottom: 32px;
    }
    
    .hero-description-highlight {
        margin-bottom: 12px;
    }
    
    .hero-form-section {
        padding: 24px;
        margin: 32px 16px;
        max-width: calc(100vw - 32px);
    }
    
    .hero-form {
        max-width: 100%;
    }
    
    #quick-analysis-form {
        max-width: 100%;
        padding: 0;
    }
    
    .hero-form textarea {
        min-height: 120px;
    }
    
    .features-grid,
    .extended-features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons .button {
        width: 100%;
        max-width: 400px;
    }
    
    .section-cta .button {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero-form-section {
        padding: 16px;
        margin: 24px 8px;
        max-width: calc(100vw - 16px);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .button {
        width: 100%;
        margin: 0;
    }
}

/* Remove old banner styles */
.banner {
    display: none;
}

/* Tab styling */
.tab-button {
    transition: all 0.3s ease;
    position: relative;
}

.tab-button.active {
    color: var(--primary);
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

#quick-analysis-wrapper {
    min-height: 666px;
    align-items: center;
    text-align: center;
}

#quick-analysis-form {
    width: 100%;
    max-width: 912px;
    margin: 0 auto;
}

/* Results styling */
#quick-results, #full-results {
    transition: all 0.5s ease;
    overflow: hidden;
    padding: 0;
}

#quick-results.show, #full-results.show {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    overflow: visible;
}

/* Results container specific styling */
#quick-results .border-t {
    margin-top: 0;
    padding-top: 0;
}

#quick-results .bg-blue-50 {
    margin-bottom: 1.5rem;
}

/* Feedback container styling */
#feedback-container {
    margin-top: 1.5rem;
}

/* Footer styling */
footer {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-top: 1px solid #e5e7eb;
}

/* Responsive improvements */
@media (max-width: 640px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    .tab-button {
        font-size: 0.875rem;
    }
}

/* Adjust spacing when form is hidden */
.bg-white.shadow-md.rounded-lg.p-6 {
    transition: all 0.4s ease;
}

.bg-white.shadow-md.rounded-lg.p-6.compact {
    padding: 1.5rem;
} 

.sharing-button {
    margin-right: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.sharing-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 160, 0.3);
}

.font-archivo {
    font-family: 'Archivo', sans-serif;
}
.bg-primary {
    background-color: var(--primary) !important;
}
.text-primary {
    color: var(--primary) !important;
}

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

.card{
    background: #FFFFFFFF; /* white */
    border-radius: 8px;
    border-width: 1px;
    border-color: #EBEBEAFF;
    border-style: solid;
    box-shadow: 0px 0px 1px #171a1f12, 0px 0px 2px #171a1f1F;
    align-items: center;
    text-align: center;
}

.service-card {
    width: 363px;
    height: 238px;
}

.service-icon {
    width: 40px; 
    height: 40px; 
    color: var(--primary);
}

.recommadation-card{
    width: 363px; 
    height: 234px; 
    padding: 25px;
}

.recommadation-card-text{
    font-size: 18px; 
    line-height: 28px; 
    font-weight: 400; 
    color: #8C8D8BFF; 
    text-align: left;
}

.card-text-paragraph {
    font-size: 16px; 
    line-height: 24px; 
    font-weight: 400; 
    color: #8C8D8BFF;   
}

/* Switch 1 */
.switch {
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: 40px; 
    height: 24px; 
    opacity: 1; 
    position: relative;
    margin: 0px 10px
}

/* Switch 1 - Disabled */
.switch .disabled {
    opacity: 0.3; 
}

/* Switch 1 - Oval */
.switch .oval {
    width: 40px; 
    height: 24px; 
    border-radius: 12px; 
}

/* Switch 1 - Oval on */
.switch.on .oval {
    background: var(--primary);
}

/* Switch 1 - Oval off */
.switch.off .oval {
    background: var(--primary);
}

/* Switch 1 - Circle */
.switch .circle {
    position: absolute; 
    width: 24px;
    height: 24px; 
    border-radius: 50%; 
    background: #FFFFFFFF; /* white */
    transition: left 0.3s ease;
    border-color: var(--primary);
    border-width: medium;
}

/* Switch 1 - Circle on */
.switch.on .circle {
    left: 16px;
}

/* Switch 1 - Circle off */
.switch.off .circle {
    left: 0;
}

.accent-line{
    width: 448px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    margin: 0 auto;
}

.results-card{
    width: 100%; 
    min-height: 204px; 
    padding-left: 17px;
    padding-right: 17px;
    padding-top: 25px;
    padding-bottom: 17px;
    border-radius: 8px; 
    border-width: 1px; 
    border-style: solid; 
    box-shadow: 0px 0px 1px #171a1f12, 0px 0px 2px #171a1f1F; /* shadow-xs */
}

.results-card-top{
    border-color: var(--primary);
    background: rgba(0, 51, 160, 0.1);
}

.results-card-other{
    border-color: #EBEBEAFF;
    background: #FFFFFFFF; /* white */
}

.position-title{
    font-size: 18px; 
    line-height: 28px; 
    font-weight: 600; 
    color: #242524FF;
}

.position-status{
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 400; 
    color: #8C8D8BFF; 
}

.position-explanation{
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 400; 
    color: #6B7280; 
    margin-top: 5px;
}

.main-heading {
    margin-bottom: 39px;
    margin-top: 34px;
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    color: #242524FF;

}

.subtitle-text {
    margin-bottom: 7px;
    line-height: 20px;
    font-weight: 400;
    color: #8C8D8BFF;
}

.section-spacing {
    margin-top: 31px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #242524FF;
    margin-bottom: 13px;
}

.large-heading {
    font-size: 24px; 
    line-height: 32px; 
    font-weight: 700; 
    color: #242524FF; 
}

.description-text {
    font-size: 16px; 
    line-height: 24px; 
    font-weight: 400; 
    color: #8C8D8BFF; 
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.description-text-premium{
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 400; 
    color: #8C8D8BFF;
}

.locked-feature-text {
    font-family: Archivo; 
    font-size: 16px; 
    line-height: 26px; 
    font-weight: 500; 
    color: #242524FF; 
}

.lock-freature-text-premium{
    font-size: 18px; 
    line-height: 28px; 
    font-weight: 500; 
    color: #8C8D8BFF; 
}

.premium-button {
    background-color: #6366F1;
    font-size: 16px;
    min-width: 200px;
}

.premium-button:hover {
    opacity: 0.9;
}

/* Premium Teasers Page Styles */
.career-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1248px;
}

.career-suggestion-card {
    width:  398px;
    height: 290px;
    background: #FFFFFFFF;
    border-radius: 8px;
    border: 1px solid #EBEBEAFF;
    box-shadow: 0px 0px 1px #171a1f12, 0px 0px 2px #171a1f1F;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.career-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #F7F7F7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-card-content {
    padding: 25px;
    height: 114px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.career-card-title {
    font-size: 20px; 
    line-height: 28px; 
    font-weight: 600; 
    color: #242524FF;
}

.career-card-description {
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 400; 
    color: #8C8D8BFF; 
}

.career-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.career-card-status {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--primary);
    background: rgba(0, 51, 160, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.career-card-location {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #8C8D8BFF;
}

/* Responsive design for premium teasers */
@media (max-width: 1200px) {
    .career-suggestions-grid {
        max-width: 800px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .career-suggestions-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 16px;
        padding: 16px;
    }
    
    .career-suggestion-card {
        width: 100%;
        max-width: 363px;
        margin: 0 auto;
    }
}
    
.progress-bar-text{
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 400; 
    color: #8C8D8BFF; 
}

.accent-line{
    width: 448px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    margin: 0 auto;
}

.results-card{
    width: 100%; 
    min-height: 204px; 
    padding-left: 17px;
    padding-right: 17px;
    padding-top: 25px;
    padding-bottom: 17px;
    border-radius: 8px; 
    border-width: 1px; 
    border-style: solid; 
    box-shadow: 0px 0px 1px #171a1f12, 0px 0px 2px #171a1f1F; /* shadow-xs */
}

.results-card-top{
    border-color: var(--primary);
    background: rgba(0, 51, 160, 0.1);
}

.results-card-other{
    border-color: #EBEBEAFF;
    background: #FFFFFFFF; /* white */
}

.position-title{
    font-size: 18px; 
    line-height: 28px; 
    font-weight: 600; 
    color: #242524FF;
}

.position-status{
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 400; 
    color: #8C8D8BFF; 
}

.position-explanation{
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 400; 
    color: #8C8D8BFF; 
}

.line {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%; 
    height: 0px; 
    border-width: 1px; 
    border-color: #EBEBEAFF; 
    border-style: solid; 
    transform: rotate(0deg); 
  }

/* Enhanced Progress Bar Styles */
.progress-bar-container {
    transition: all 0.3s ease;
}

.progress-bar-track {
    background-color: #F3F4F6;
    border-radius: 9999px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.progress-bar-fill {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #374151;
    transition: color 0.3s ease;
}

/* Progress bar variants */
.progress-bar-thin .progress-bar-track {
    height: 0.5rem;
}

.progress-bar-medium .progress-bar-track {
    height: 0.75rem;
}

.progress-bar-thick .progress-bar-track {
    height: 1rem;
}

/* Custom color variants */
.progress-bar-success .progress-bar-fill {
    background: linear-gradient(90deg, var(--success) 0%, #22c55e 100%);
}

.progress-bar-warning .progress-bar-fill {
    background: linear-gradient(90deg, var(--warning) 0%, #f59e0b 100%);
}

.progress-bar-danger .progress-bar-fill {
    background: linear-gradient(90deg, var(--danger) 0%, #ef4444 100%);
}

/* CV Service Notification Styles */
.cv-notification {
    margin-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}

.cv-notification.hidden {
    display: none;
}

.cv-notification .flex {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
    transform: translateY(0);
}
}

/* === Full Analysis Results layout fix === */
.full-results-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* ~gap-8 */
    width: 100%;
}

.full-results-layout .main-content {
    min-width: 0; /* allow content to shrink without forcing wrap */
}

.full-results-layout .sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .full-results-layout {
        grid-template-columns: 1fr 20rem; /* main + fixed sidebar */
        align-items: start;
    }
}

#user-recommendations {
    grid-template-columns: repeat(3, 350px);
    width: 100%;
}
@media (max-width: 1150px) {
    #user-recommendations {
        grid-template-columns: 350px;
        width: auto;
    }
}
.recommadation-card {
    width: 100%;
    max-width: 350px;
}

/* === Classes for recommendation card content, replacing inline styles === */
.recommendation-card-flex {
  display: flex;
  flex-direction: column;
}
.recommendation-card-comment {
  margin-bottom: 21px;
}
.recommendation-card-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.recommendation-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}
.recommendation-icon {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.recommendation-text {
  text-align: left;
}
.recommendation-title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #242524FF;
}
.recommendation-job {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #8C8D8BFF;
}

/* === Classes for index.html replacing inline styles === */
.banner-content-custom {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.banner-content-inner {
  width: 100%;
  max-width: 460px;
  text-align: left;
  padding: 20px;
}
.banner-title {
  font-size: clamp(32px, 5vw, 59px);
  line-height: 1.2;
  font-weight: 700;
}
.banner-description {
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.4;
  font-weight: 400;
  margin-top: 20px;
}
.banner-buttons {
  margin-top: 39px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.banner-image-container {
  width: 100%;
  max-width: 520px;
  margin: 20px auto 0;
  padding: 0 20px;
}
.service-section {
  min-height: 744px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-title {
  margin-bottom: 3rem;
  margin-top: 4rem;
}
.service-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 19px;
}
.service-header {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: #242524FF;
}
.recommendations-section {
  min-height: 446px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.recommendations-title {
  margin-bottom: 46px;
}
.recommendations-container {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 0 1rem;
}

/* === Classes for full-analysis.html replacing inline styles === */
.full-analysis-container {
  width: 624px;
  margin: 0 auto;
  padding-top: 50px;
}
.prev-step-custom {
  padding: 8px 16px;
  background: #6B7280;
  color: white;
}
.skip-to-payment-custom {
  padding: 8px 16px;
  background: #F59E0B;
  color: white;
}
.next-step-custom {
  padding: 8px 16px;
}
.submit-analysis-custom {
  padding: 8px 16px;
  background: #16a34a;
}
.id-input-section-custom {
  display: none;
}
.back-to-form-custom {
  padding: 8px 16px;
  background: #6B7280;
  color: white;
}
.submit-id-custom {
  padding: 8px 16px;
  background: #16a34a;
}

/* === Classes for full-analysis-results.html replacing inline styles === */
.notification-custom {
  min-width: 28rem;
}
.overall-fit-score-row {}
.overall-fit-score-value {
  color: #242524FF;
}
.overall-fit-score-chevron {
  color: #242524FF;
}
.top-industry-value {
  color: #242524FF;
}
.learning-agility-value {
  color: #242524FF;
}
.action-potential-value {
  color: #242524FF;
}
.fit-score-section-title,
.skills-section-title,
.recommended-paths-title,
.consultation-title,
.report-options-title,
.next-steps-title,
.about-results-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: #242524FF;
}
.career-path-title {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: #242524FF;
}
.career-path-chevron {
  color: #242524FF;
}
.next-steps-description,
.about-results-description {
  font-size: 14px;
  line-height: 23px;
  font-weight: 400;
  color: #8C8D8BFF;
}

/* === Classes for quick-analysis-results.html replacing inline styles === */
.quick-analysis-header {
  margin-top: 34px;
}
.quick-analysis-title {
  margin-bottom: 39px;
}
.quick-analysis-progress {}
.quick-analysis-accent-line {}
.quick-analysis-top-suggestion {}
.quick-analysis-suggestion-details {
  margin-top: 20px;
}
.quick-analysis-other-suggestion {}
.quick-analysis-upgrade-title {}
.quick-analysis-upgrade-description {}
.quick-analysis-upgrade-btn {}

/* Newsletter Signup Component Styles */
.newsletter-container {
    margin-top: 98px;
    margin-bottom: 96px;
}

.newsletter-heading {
    margin-top: 52px;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: #242524FF;
}

.newsletter-button {
    padding: 8px 16px;
}

/* Footer Component Styles */
.footer-copyright {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #8C8D8BFF;
}

/* Feedback Form Component Styles */
.feedback-submit-button {
    padding: 8px 16px;
}

/* Additional inline style replacements */
.text-center-container {
    text-align: center;
}

.margin-top-98 {
    margin-top: 98px;
}

.margin-bottom-96 {
    margin-bottom: 96px;
}

.margin-top-52 {
    margin-top: 52px;
}

.margin-bottom-12 {
    margin-bottom: 12px;
}

/* Unsubscribe Component Styles */
.unsubscribe-button {
    background: #DC2626;
    padding: 8px 16px;
    height: auto;
}

/* Reset Password Component Styles */
.password-strength-bar {
    width: 0%;
}

/* Questionnaire Intro Component Styles */
.expectations-section {
    margin-top: 50px;
}

.expectations-grid {
    grid-template-columns: 352px 352px 352px;
    column-gap: 32px;
    row-gap: 32px;
    width: 1120px;
}

.expectation-icon {
    color: var(--primary);
}

.success-stories-section {
    margin-top: 50px;
}

.story-name {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #242524FF;
}

.story-testimonial {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #8C8D8BFF;
}

.cta-section {
    margin-top: 80px;
}

.cta-description {
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #8C8D8BFF;
}

/* Profile Component Styles */
.profile-header {
    margin-top: 34px;
}

.profile-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #242524FF;
}

.profile-subtitle {
    font-size: 14px;
    line-height: 23px;
    font-weight: 400;
    color: #8C8D8BFF;
}

/* Premium Teasers Component Styles */
.premium-header {
    text-align: left;
}

.premium-heading {
    margin-bottom: 24px;
}

.premium-subtitle {
    width: 672px;
}

.premium-section {
    margin-bottom: 61px;
    padding: 33px;
    width: 1248px;
    height: 382px;
    background: #F7F7F780;
    border-radius: 8px;
    border-width: 1px;
    border-color: #EBEBEAFF;
    border-style: solid;
}

.premium-section-heading {
    margin-bottom: 21px;
}

.premium-features {
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-button-container {
    margin-bottom: 33px;
}

/* Payment Process Component Styles */
.payment-container {
    width: 624px;
    margin: 0 auto;
    padding-top: 50px;
}

.payment-button-success {
    padding: 12px 24px;
    background: #16a34a;
}

.payment-button-retry {
    padding: 12px 24px;
    background: #3B82F6;
}

.payment-button-back {
    padding: 12px 24px;
    background: #6B7280;
}

.payment-button-check {
    padding: 12px 24px;
    background: #F59E0B;
}

/* UI Components Macros Styles */
.progress-container-center {
    text-align: center;
}

.progress-bar-container {
    min-width: 448px;
}

.progress-bar-fill {
    width: 0%;
}

/* Progress Bar Dynamic Width Handling */
.progress-bar-fill[data-width] {
    width: var(--progress-width, 0%);
}

/* Full Analysis Component Styles */
.step-active {
    display: block;
}

.full-analysis-button-back {
    padding: 12px 24px;
    background: #3B82F6;
}

.full-analysis-button-dashboard {
    padding: 12px 24px;
    background: #16a34a;
}

/* Full Analysis Results Component Styles */
.skill-score-text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #8C8D8BFF;
}

.career-path-description {
    white-space: normal;
    overflow: visible;
    height: auto;
    word-wrap: break-word;
    line-height: 1.5;
}

.results-description {
    font-size: 14px;
    line-height: 23px;
    font-weight: 400;
    color: #8C8D8BFF;
}

/* Quick Analysis Form Component Styles */
.quick-analysis-title {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.quick-analysis-step-active {
    display: block;
}

/* Signup Component Styles */
.signup-body {
    margin: 0;
}

.signup-form-container {
    min-height: 714px;
    background: #FFFFFFFF;
    border-radius: 8px;
    border-width: 1px;
    border-color: #EBEBEAFF;
    border-style: solid;
    box-shadow: 0px 0px 1px #171a1f12, 0px 0px 2px #171a1f1F;
    padding: 3.5rem;
}

.signup-header {
    width: 270px;
    margin: 0 auto;
}

.signup-title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: #242524FF;
}

.signup-subtitle {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #8C8D8BFF;
}

.signup-input-container {
    width: 270px;
    margin: 0 auto;
}

.signup-input {
    width: 270px;
    margin-bottom: 14px;
}

/* Profile Component Additional Styles */
.profile-button-hidden {
    display: none;
}

/* Signup Component Additional Styles */
.signup-submit-container {
    margin-top: 42px;
}

/* Premium Teasers Component Additional Styles */
.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.career-card-image {
    position: relative;
}

.signup-success-message {
    width: 270px;
    margin: 0 auto;
}

.initial-width-0 {
    width: 0%;
}

/* 403 Error Page Styles */
.error-403-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}
.error-403-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #dc2626;
}
.error-403-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.error-403-btn {
    display: inline-block;
    background-color: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.3s;
}
.error-403-btn:hover {
    background-color: #4338ca;
}

/* 404 Error Page Styles */
.error-404-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}
.error-404-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4f46e5;
}
.error-404-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.error-404-btn {
    display: inline-block;
    background-color: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.3s;
}
.error-404-btn:hover {
    background-color: #4338ca;
}

/* 429 Error Page Styles */
.error-429-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}
.error-429-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f59e0b;
}
.error-429-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.error-429-btn {
    display: inline-block;
    background-color: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.3s;
}
.error-429-btn:hover {
    background-color: #4338ca;
}

.prose h2 {
  @apply text-2xl font-semibold text-gray-900 mt-8 mb-4 first:mt-0;
}
.prose p {
  @apply text-gray-700 mb-4 leading-relaxed;
}
.prose ul {
  @apply list-disc pl-6 mb-4;
}
.prose li {
  @apply text-gray-700 mb-2;
}

/* WordPress block list styling */
.wp-block-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.wp-block-list li {
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.wp-block-list li:last-child {
  margin-bottom: 0;
}

/* ===== LOGO RESPONSIVE SIZING CLASSES ===== */

/* Logo classes that maintain height but allow width to scale proportionally */
.logo-header {
    height: 2.5rem; /* 40px - same as h-10 */
    width: auto;
    object-fit: contain;
    margin-right: 1rem;
}

.logo-medium {
    height: 3rem; /* 48px - same as h-12 */
    width: auto;
    object-fit: contain;
}

.logo-medium-with-margin {
    height: 3rem; /* 48px - same as h-12 */
    width: auto;
    object-fit: contain;
    margin-right: 0.75rem;
}

.logo-small {
    height: 2rem; /* 32px - same as h-8 */
    width: auto;
    object-fit: contain;
}

/* Ensure logos don't exceed reasonable widths */
.logo-header,
.logo-medium,
.logo-medium-with-margin,
.logo-small {
    max-width: 200px; /* Prevent logos from being too wide */
}

/* Hover effects for interactive logos */
.logo-hover {
    transition: opacity 0.2s ease;
}

.logo-hover:hover {
    opacity: 0.8;
}

/* Position details expand/collapse improvements */
.position-details {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.position-details.hidden {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    border-top: none;
}

.position-details:not(.hidden) {
    max-height: 1000px; /* Large enough to accommodate content */
}

/* Ensure expand buttons are properly styled */
.expand-details-btn {
    transition: all 0.2s ease;
}

.expand-details-btn:hover {
    background-color: rgba(0, 51, 160, 0.05);
    border-radius: 4px;
    padding: 2px 8px;
}

.expand-chevron {
    transition: transform 0.2s ease;
}

/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.loading-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90%;
}

.loading-overlay-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(0, 51, 160, 0.2);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: loading-overlay-spin 1s linear infinite;
    margin-bottom: 24px;
}

.loading-overlay-image {
    max-width: min(360px, 55vw);
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    display: block;
}

.loading-overlay-message {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    margin: 0;
    padding: 0 16px;
    transition: opacity 0.3s ease;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .loading-overlay-spinner {
        width: 48px;
        height: 48px;
        border-width: 3px;
        margin-bottom: 20px;
    }
    
    .loading-overlay-image {
        max-width: min(260px, 70vw);
        margin-bottom: 14px;
    }
    
    .loading-overlay-message {
        font-size: 16px;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .loading-overlay-spinner {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }
    
    .loading-overlay-image {
        max-width: min(200px, 80vw);
    }
    
    .loading-overlay-message {
        font-size: 14px;
        padding: 0 8px;
    }
}
