/* Extracted from search.html */

        :root {
            --navy: #0F172A;
            --gold: #C5A059;
            --slate-50: #F8FAFC;
            --slate-100: #F1F5F9;
            --slate-200: #E2E8F0;
            --slate-300: #cbd5e1;
            --slate-600: #475569;
            --slate-900: #0F172A;
            --white: #FFFFFF;
            --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'Inter', sans-serif; background-color: var(--slate-50); color: var(--slate-900); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }
        main.container { flex: 1; }

        /* Small Header for Search Page */
        nav { 
            background: white; border-bottom: 1px solid var(--slate-200); padding: 1.25rem 0; 
            position: sticky; top: 0; z-index: 1000;
        }
        .nav-inner { display: flex; justify-content: space-between; align-items: center; }
        .logo { 
            font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; 
            color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
        }
        .logo img { height: 40px; }
        
        .nav-links { display: flex; gap: 2.5rem; align-items: center; }
        .nav-links a { text-decoration: none; color: var(--slate-600); font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
        .nav-links a:hover { color: var(--navy); }
        .btn-cta { 
            background: var(--navy); color: white !important; padding: 0.75rem 1.5rem; 
            border-radius: 999px; font-weight: 700; transition: var(--transition); 
        }
        .btn-cta:hover { background: var(--gold); transform: translateY(-2px); }

        .lang-selector { font-size: 0.8rem; font-weight: 700; color: var(--slate-600); cursor: pointer; display: flex; gap: 0.5rem; }
        .lang-selector span.active { color: var(--navy); border-bottom: 2px solid var(--gold); }

        .burger { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
        .burger div { width: 25px; height: 3px; background: var(--navy); border-radius: 2px; transition: var(--transition); }



        /* Layout */
        .search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; padding: 4rem 0; }

        /* Filters Sidebar */
        .filters { 
            background: white; border-radius: 1rem; padding: 1.25rem; 
            border: 1px solid var(--slate-200); position: sticky; top: 100px;
            align-self: start; max-height: calc(100vh - 120px); overflow-y: auto;
        }
        .filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
        .filters h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.2rem; color: var(--navy); margin: 0; }
        .clear-filters { font-size: 0.8rem; color: var(--slate-500); text-decoration: underline; cursor: pointer; transition: var(--transition); }
        .clear-filters:hover { color: var(--navy); }
        
        .filter-group { margin-bottom: 0.6rem; padding-bottom: 0; border-bottom: none; }
        .filter-group:last-child { margin-bottom: 0; }
        .filter-group h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); font-weight: 800; margin-bottom: 0.2rem; }
        
        /* Tom Select Compact Overrides */
        .ts-control { padding: 0.35rem 0.5rem !important; min-height: 30px !important; border-radius: 6px !important; }
        .ts-control input { font-size: 0.8rem !important; }
        .ts-dropdown { font-size: 0.8rem !important; border-radius: 6px !important; }
        .ts-wrapper.multi .ts-control > div { padding: 0 4px !important; font-size: 0.75rem !important; border-radius: 4px !important; margin: 1px !important; }
        .filter-option { 
            display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.2rem; 
            font-size: 0.95rem; cursor: pointer; color: var(--slate-600);
            padding: 0.4rem 0.5rem; border-radius: 8px; transition: var(--transition);
            margin-left: -0.5rem;
        }
        .filter-option:hover { background: var(--slate-50); color: var(--navy); }
        .filter-option input { width: 18px; height: 18px; accent-color: var(--navy); cursor: pointer; }

        /* Results List */
        .results-header { margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; }
        .results-header h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; color: var(--navy); }
        .results-count { font-size: 0.9rem; color: var(--slate-600); }

        .result-card { 
            background: white; border-radius: 1.25rem; border: 1px solid var(--slate-200); 
            padding: 1.5rem; margin-bottom: 1rem; transition: var(--transition);
            display: flex; gap: 1.5rem; position: relative; cursor: pointer;
        }
        .result-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-4px); }
        .match-score { 
            position: absolute; top: 1.5rem; right: 1.5rem; 
            background: #f0fdf4; color: #166534; padding: 0.4rem 0.8rem; 
            border-radius: 6px; font-size: 0.75rem; font-weight: 700; border: 1px solid #bbf7d0;
        }
        
        .company-info { flex: 1; }
        .company-info h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.2rem; color: var(--navy); margin-bottom: 0.25rem; }
        .company-info .location { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
        .company-info .description { font-size: 0.9rem; color: var(--slate-600); margin-bottom: 1rem; }
        
        .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
        .tag { background: var(--slate-100); color: var(--slate-600); padding: 0.3rem 0.6rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }

        .action-btns { display: flex; flex-direction: column; gap: 0.75rem; justify-content: flex-end; padding-top: 2.5rem; }
        .btn-primary { background: var(--navy); color: white; padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.9rem; text-align: center; }
        .btn-secondary { background: var(--slate-100); color: var(--navy); padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.9rem; text-align: center; }

        /* Custom Dropdown */
        .header-actions { display: flex; gap: 1rem; align-items: center; }
        .btn-mobile-filter { 
            display: none; background: white; border: 1px solid var(--slate-200); border-radius: 8px;
            padding: 0.6rem 1rem; color: var(--navy); font-weight: 600; cursor: pointer;
            align-items: center; gap: 0.5rem; font-family: inherit; font-size: 0.9rem; transition: var(--transition);
        }
        .btn-mobile-filter:hover { border-color: var(--navy); }
        .btn-mobile-filter svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
        .custom-dropdown {

            position: relative; width: 240px; font-family: inherit; font-size: 0.9rem; user-select: none;
        }
        .dropdown-selected {
            background-color: white; border: 1px solid var(--slate-200); border-radius: 8px;
            padding: 0.6rem 2.5rem 0.6rem 1rem; color: var(--navy); font-weight: 600; cursor: pointer;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat; background-position: right 0.75rem center;
            transition: var(--transition);
        }
        .dropdown-selected:hover { border-color: var(--navy); }
        .custom-dropdown.open .dropdown-selected { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1); }
        .dropdown-options {
            position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: white; border: 1px solid var(--slate-200);
            border-radius: 8px; box-shadow: var(--shadow); z-index: 100; display: none; overflow: hidden;
        }
        .custom-dropdown.open .dropdown-options { display: block; animation: fadeIn 0.15s ease; }
        .dropdown-option { padding: 0.75rem 1rem; color: var(--slate-700); cursor: pointer; transition: background 0.2s; }
        .dropdown-option:hover { background: var(--slate-50); color: var(--navy); }
        .dropdown-option.active { background: var(--slate-100); font-weight: 700; color: var(--navy); }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        /* Heart Button */
        .company-img { position: relative; width: 100px; height: 100px; background: var(--slate-100); border-radius: 1rem; flex-shrink: 0; }
        .heart-btn {
            position: absolute; top: 0.5rem; left: 0.5rem; width: 28px; height: 28px;
            background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center;
            cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: var(--transition); border: none; backdrop-filter: blur(4px);
        }
        .heart-btn:hover { transform: scale(1.1); }
        .heart-btn svg { width: 14px; height: 14px; stroke: #64748b; stroke-width: 2.5; fill: none; transition: var(--transition); }
        .heart-btn.active svg { fill: #ef4444; stroke: #ef4444; }

        /* Pagination */
        .pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 4rem; }
        .page-btn { 
            background: white; border: 1px solid var(--slate-200); padding: 0.5rem 1rem; 
            border-radius: 8px; font-weight: 600; color: var(--slate-600); cursor: pointer; 
            transition: var(--transition); font-family: inherit; font-size: 0.9rem;
        }
        .page-btn:hover:not([disabled]) { border-color: var(--navy); color: var(--navy); background: var(--slate-50); }
        .page-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
        .page-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

        /* Tom Select Overrides */
        .ts-control { font-family: inherit; border-color: var(--slate-200); border-radius: 6px; box-shadow: none; padding: 6px 10px; background-color: var(--slate-50); font-size: 0.85rem; }
        .ts-control.focus { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1); background-color: white; }
        .ts-dropdown { font-family: inherit; font-size: 0.9rem; border-radius: 8px; border-color: var(--slate-200); box-shadow: var(--shadow); }
        .ts-dropdown .option:hover { background: var(--slate-50); color: var(--navy); }
        .ts-dropdown .option.active { background: var(--slate-100); font-weight: 600; color: var(--navy); }
        .ts-control .item { background: var(--slate-200) !important; color: var(--navy) !important; border: none !important; border-radius: 4px; padding: 2px 8px; font-size: 0.85rem; font-weight: 500; }
        .ts-control .item.active { background: var(--navy) !important; color: white !important; }

        /* Footer */
        .site-footer { padding: 4rem 2rem; background: var(--navy); color: white; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 4rem; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; text-align: left; }
        .footer-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 1.5rem; letter-spacing: -0.04em; }
        .footer-col h4 { color: var(--gold); margin-bottom: 1.5rem; }
        .footer-links { list-style: none; color: var(--slate-400); font-size: 0.9rem; display: flex; flex-direction: column; gap: 0.75rem; }

        .filter-backdrop { display: none; }
        .btn-close-mobile { display: none; }

        /* Responsive */
        @media (max-width: 900px) {
            .nav-links { display: none; }
            .burger { display: flex; }
            .nav-links.active {
                display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
                background: white; padding: 2rem; border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow); z-index: 1000;
            }
            .search-layout { grid-template-columns: 1fr; padding-top: 2rem; }
            .filters { display: none; } /* Show in modal maybe? */
            .mobile-search-container { display: block !important; }
            .result-card { flex-direction: column; padding: 1.25rem; }
            .card-header { flex-direction: column; width: 100%; }
            .company-img { width: 100%; height: 180px; }
            .action-btns { width: 100%; padding-top: 1rem; }
            .action-btns button { width: 100%; padding: 0.75rem 1rem; font-size: 0.85rem; justify-content: center; }
            .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
            .match-score { top: 1rem; right: 1rem; }
            
            .company-modal-content {
                width: 100%; height: 100%; max-height: 100vh; border-radius: 0; margin: 0;
            }
            
            .btn-mobile-filter { display: flex; }
            #desktopSearchGroup { display: none; }
            .header-actions { width: 100%; flex-wrap: wrap; margin-top: 1.5rem; gap: 0.75rem; justify-content: space-between; }
            .results-header { flex-direction: column; align-items: flex-start; }
            
            /* Mobile Filter Modal */
            .filter-backdrop {
                display: block; position: fixed; inset: 0; background: rgba(15,23,42,0.4); 
                z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.3s;
                backdrop-filter: blur(2px);
            }
            .filter-backdrop.show-mobile { opacity: 1; pointer-events: auto; }

            .filters { 
                display: block; position: fixed; bottom: 0; left: 0; width: 100%; max-height: 85vh; overflow-y: auto;
                background: white; z-index: 999; border-radius: 1.5rem 1.5rem 0 0; padding: 2rem;
                transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
                margin-bottom: 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
                visibility: hidden; pointer-events: none;
            }
            .filters.show-mobile { transform: translateY(0); visibility: visible; pointer-events: auto; }
            .btn-close-mobile { display: flex; align-items: center; justify-content: center; background: var(--slate-100); border: none; width: 40px; height: 40px; border-radius: 50%; color: var(--slate-600); cursor: pointer; padding: 0; }
            .btn-close-mobile svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }
            .mobile-clear-filters.active { display: inline-block !important; }
        }

        /* Company Modal */
        .company-modal-overlay {
            display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6);
            z-index: 2000; backdrop-filter: blur(4px); align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.3s ease;
        }
        .company-modal-overlay.show { opacity: 1; }
        .company-modal-content {
            background: white; width: 90%; max-width: 1200px; height: 90vh; border-radius: 1.5rem;
            position: relative; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            transform: translateY(20px); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; flex-direction: column;
        }
        .company-modal-overlay.show .company-modal-content { transform: translateY(0); }
        .company-modal-header {
            padding: 1rem 1.5rem; border-bottom: 1px solid var(--slate-200);
            display: flex; justify-content: space-between; align-items: center; background: white; z-index: 10;
        }
        .company-modal-title {
            font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--navy); margin: 0;
        }
        .btn-close-modal {
            background: var(--slate-100); border: none; width: 36px; height: 36px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; cursor: pointer;
            color: var(--slate-600); transition: var(--transition);
        }
        .btn-close-modal:hover { background: var(--slate-200); color: var(--navy); }
        .btn-close-modal svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
        .company-modal-iframe { flex: 1; width: 100%; border: none; background: #f8fafc; }
    

/* Extracted from company.html */

        :root {
            --navy: #0F172A;
            --gold: #C5A059;
            --slate-50: #F8FAFC;
            --slate-100: #F1F5F9;
            --slate-200: #E2E8F0;
            --slate-600: #475569;
            --slate-900: #0F172A;
            --white: #FFFFFF;
            --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'Inter', sans-serif; background-color: var(--white); color: var(--slate-900); line-height: 1.6; }

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

        /* Navigation */
        nav { 
            background: white; border-bottom: 1px solid var(--slate-200); padding: 1.25rem 0; 
            position: sticky; top: 0; z-index: 1000;
        }
        .nav-inner { display: flex; justify-content: space-between; align-items: center; }
        .logo { 
            font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; 
            color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
        }
        .logo img { height: 40px; }
        
        .nav-links { display: flex; gap: 2.5rem; align-items: center; }
        .nav-links a { text-decoration: none; color: var(--slate-600); font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
        .nav-links a:hover { color: var(--navy); }
        .btn-cta { 
            background: var(--navy); color: white !important; padding: 0.75rem 1.5rem; 
            border-radius: 999px; font-weight: 700; transition: var(--transition); 
        }
        .btn-cta:hover { background: var(--gold); transform: translateY(-2px); }

        .lang-selector { font-size: 0.8rem; font-weight: 700; color: var(--slate-600); cursor: pointer; display: flex; gap: 0.5rem; }
        .lang-selector span.active { color: var(--navy); border-bottom: 2px solid var(--gold); }

        .burger { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
        .burger div { width: 25px; height: 3px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

        /* Profile Hero */
        html.is-modal nav, html.is-modal footer { display: none !important; }
        html.is-modal .profile-hero { padding-top: 4rem !important; }
        
        .profile-hero { 
            padding: 8rem 0 6rem; 
            background-color: var(--navy); 
            background-image: url('thumb_pm.png');
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .profile-hero::before {
            content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.6));
            z-index: 1;
        }
        .profile-header { display: flex; gap: 4rem; align-items: flex-start; position: relative; z-index: 2; }
        .profile-img { width: 240px; height: 240px; background: white; border-radius: 2rem; border: 1px solid var(--slate-200); padding: 2rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); flex-shrink: 0; }
        .profile-info { flex: 1; padding-top: 1rem; }
        .badge-verified { background: #10B981; color: white; padding: 0.4rem 0.8rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; display: inline-block; margin-bottom: 1rem; }
        .badge-premium { background: var(--gold); color: white; padding: 0.4rem 0.8rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; display: inline-block; margin-bottom: 1rem; }
        .profile-info h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3.5rem; color: white; margin-bottom: 1rem; line-height: 1.1; }
        .profile-meta { display: flex; gap: 2rem; color: var(--slate-200); font-weight: 500; margin-bottom: 2.5rem; }
        
        .btn-group { display: flex; gap: 1rem; }
        .btn-main { background: var(--gold); color: white; padding: 1rem 2.5rem; border-radius: 999px; text-decoration: none; font-weight: 700; transition: var(--transition); border: 2px solid var(--gold); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
        .btn-main:hover { transform: translateY(-2px); box-shadow: var(--shadow); filter: brightness(1.1); }
        .btn-outline { background: white; color: var(--navy); padding: 1rem 2rem; border-radius: 999px; text-decoration: none; font-weight: 700; transition: var(--transition); border: 2px solid white; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;}
        .btn-outline:hover { background: var(--slate-100); transform: translateY(-2px); }
        /* Profile Content Layout */
        .profile-layout { display: grid; grid-template-columns: 1fr 350px; gap: 4rem; padding: 6rem 0; }

        .section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.75rem; color: var(--navy); margin-bottom: 1.5rem; border-left: 4px solid var(--gold); padding-left: 1.5rem; }
        .content-section { margin-bottom: 4rem; }
        
        /* Stats Grid */
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
        .stat-card { background: var(--slate-50); padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--slate-200); }
        .stat-card h4 { font-size: 0.75rem; text-transform: uppercase; color: var(--slate-500); margin-bottom: 0.5rem; }
        .stat-card p { font-weight: 700; font-size: 1.1rem; color: var(--navy); }

        /* Capabilities List */
        .cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; list-style: none; }
        .cap-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; color: var(--slate-700); }
        .cap-list li::before { content: "✓"; color: var(--gold); font-weight: 900; }

        /* Sidebar Info */
        .sidebar-col { position: sticky; top: 120px; align-self: start; }
        .sidebar-card { background: white; border: 1px solid var(--slate-200); border-radius: 1.5rem; padding: 2rem; margin-bottom: 2rem; }
        .sidebar-card h4 { font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 1rem; }
        .info-row { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--slate-100); font-size: 0.9rem; }
        .info-row span:first-child { color: var(--slate-500); }
        .info-row span:last-child { font-weight: 600; color: var(--navy); word-break: break-all; text-align: right; margin-left: 1rem; }

        @media (max-width: 900px) {
            .profile-hero { padding: 4rem 1rem 3rem; }
            .profile-header { flex-direction: column; align-items: flex-start; text-align: left; gap: 1.5rem; }
            .profile-img { width: 120px; height: 120px; padding: 1rem; }
            .profile-layout { grid-template-columns: 1fr; padding: 3rem 1rem; gap: 2.5rem; }
            .profile-info h1 { font-size: 2rem; }
            .profile-meta { justify-content: flex-start; flex-wrap: wrap; }
            .cap-list { grid-template-columns: 1fr; }
            .btn-group { flex-direction: column; width: 100%; }
            .btn-group a { width: 100%; }
            
            .nav-links { display: none; }
            .burger { display: flex; }
            .nav-links.active {
                display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
                background: white; padding: 2rem; border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow);
            }
        }

        #loadingOverlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.9);
            z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center;
            font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; color: var(--navy);
        }
        .spinner {
            width: 50px; height: 50px; border: 4px solid var(--slate-200); border-top-color: var(--gold);
            border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 1rem;
        }
        @keyframes spin { 100% { transform: rotate(360deg); } }
    

