/* === Font Faces === */
@font-face {
    font-family: 'Helvetica';
    src: url('/assets/ALL FONTS/helvetica-255/Helvetica.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica';
    src: url('/assets/ALL FONTS/helvetica-255/Helvetica-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/ALL FONTS/SECONDARY TYPEFACE/Inter/Inter-Regular.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/ALL FONTS/SECONDARY TYPEFACE/Inter/Inter-Bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

/* === Brand Colors & Variables === */
:root {
    /* Primary Colors */
    --deep-navy: #0D1B3E;
    --sovereign-gold: #C9A84C;

    /* Secondary & Support Colors */
    --midnight-navy: #243660;
    --warm-gold: #E8D5A3;
    --antique-gold: #E8D5A3;
    /* Alias */
    --soft-slate: #8B9DC3;

    /* Neutral & Background Colors */
    --ivory: #FAF7F2;
    --silver-mist: #D6D8D1;
    --charcoal: #3A3A3A;
}

/* === Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    font-family: 'Inter', sans-serif;
    background-color: var(--ivory);
    color: var(--charcoal);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Helvetica', sans-serif;
    color: var(--deep-navy);
}

a {
    text-decoration: none;
    color: inherit;
}

/* === Navbar Styles === */
.navbar {
    background-color: rgba(250, 247, 242, 0.85);
    /* Translucent Ivory */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    /* Fixed to top */
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(13, 27, 62, 0.06);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 55px;
    /* Reduced logo size */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin-top: 4px;
}

.nav-links li a {
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links li a:hover {
    color: var(--sovereign-gold);
}

/* === Mega Menu === */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--ivory);
    border-top: 1px solid rgba(13, 27, 62, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 1.5rem 4rem 1.5rem 10rem;
    /* Left padding aligns with nav links */
    cursor: default;
}

.has-mega-menu.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0;
    /* Removed auto to left-align */
}

.mega-title {
    color: var(--sovereign-gold);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    /* Increased slightly */
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
}

.mega-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.mega-column ul li a {
    color: var(--charcoal);
    font-size: 0.88rem;
    /* Increased slightly */
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
    letter-spacing: 0;
}

.mega-column ul li a:hover {
    color: var(--sovereign-gold);
}

.mega-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(13, 27, 62, 0.05);
    display: flex;
    justify-content: flex-end;
    max-width: 1400px;
}

.view-all-services {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--midnight-navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.view-all-services:hover {
    color: var(--sovereign-gold);
}

/* === Simple Dropdown === */
.has-simple-dropdown {
    position: relative;
}

.simple-dropdown {
    position: absolute;
    top: 2.5rem;
    /* Start exactly below the navbar */
    left: -20px;
    /* Slight offset to align with text */
    width: 420px;
    /* Wider for two columns */
    background-color: var(--ivory);
    border-top: 1px solid rgba(13, 27, 62, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    padding: 1.5rem 2rem;
    z-index: 100;
    border-radius: 4px;
}

.has-simple-dropdown.active .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-dropdown ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    padding: 0;
    margin: 0;
}

.simple-dropdown.single-column {
    width: 240px;
    padding: 1.5rem;
}

.simple-dropdown.single-column ul {
    grid-template-columns: 1fr;
}

.simple-dropdown ul li a {
    color: var(--charcoal);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
    display: block;
}

.simple-dropdown ul li a:hover {
    color: var(--sovereign-gold);
}

/* === Nested Sub-Menus === */
.has-sub-menu {
    position: relative;
}

.sub-menu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.has-sub-menu.active .sub-menu {
    display: block;
}

.sub-menu ul {
    gap: 0.4rem !important;
}

.chevron-sm {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.chevron {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    stroke-width: 2.5px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    color: var(--midnight-navy);
    border: 1.5px solid var(--midnight-navy);
    padding: 0 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.nav-btn-icon {
    height: 20px;
    width: auto;
    display: block;
}

.nav-outline-btn:hover {
    background-color: var(--midnight-navy);
    color: var(--ivory);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    height: 44px;
    background-color: var(--midnight-navy);
    color: var(--ivory);
    border: 1.5px solid var(--midnight-navy);
    /* matches outline border */
    padding: 0 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.nav-cta:hover {
    background-color: var(--sovereign-gold);
    color: var(--midnight-navy);
    border-color: var(--sovereign-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--deep-navy);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-hero-cta {
    display: none;
}

/* === Responsive === */
@media (max-width: 992px) {

    .nav-links,
    .navbar .nav-cta {
        display: none;
    }

    .nav-outline-btn {
        display: inline-flex;
        padding: 0 0.75rem;
        height: 38px;
        font-size: 0.85rem;
        order: 1;
        justify-content: center;
        align-items: center;
    }

    .nav-outline-btn .nav-btn-icon {
        width: 16px;
        height: 16px;
        margin-right: 0.4rem;
    }

    .mobile-menu-btn {
        display: block;
        order: 2;
        transition: opacity 0.3s ease;
    }

    .mobile-hero-cta {
        display: inline-flex;
        padding: 0 1.25rem;
        height: 40px;
        font-size: 0.9rem;
    }

    .navbar-right {
        gap: 0.75rem;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }
}

/* === Footer Styles === */
.main-footer {
    background-color: var(--deep-navy);
    color: var(--ivory);
    padding: 5rem 0 1.5rem 0;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-headline h2 {
    color: var(--ivory);
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

.footer-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-actions .btn-primary {
    background-color: var(--sovereign-gold);
    color: var(--deep-navy);
    height: 44px;
    padding: 0 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1.5px solid var(--sovereign-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-actions .btn-primary:hover {
    background-color: #d1b45f;
    transform: translateY(-2px);
}

.footer-actions .btn-secondary {
    background-color: transparent;
    color: var(--ivory);
    height: 44px;
    padding: 0 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-actions .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 2.5rem;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
}

.footer-brand-text {
    color: var(--ivory);
    font-size: 1.8rem;
    font-family: 'Helvetica', sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--sovereign-gold);
    font-size: 1rem;
    margin-top: 0.2rem;
    width: 20px;
    text-align: center;
}

.contact-item p {
    color: var(--ivory);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: 1.5px solid var(--sovereign-gold);
    border-radius: 50%;
    color: var(--sovereign-gold);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-circle:hover {
    transform: translateY(-3px);
    background-color: var(--sovereign-gold);
    color: var(--ivory);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.social-circle i {
    font-size: 1rem;
}

.footer-link-block {
    margin-bottom: 2rem;
}

.footer-link-block:last-child {
    margin-bottom: 0;
}

.footer-link-block p {
    color: var(--soft-slate);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.footer-link-title {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--ivory);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-link-title:hover {
    color: var(--sovereign-gold);
}

.footer-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--soft-slate);
}

.copyright-right {
    display: flex;
    gap: 1.5rem;
}

.copyright-right a {
    color: var(--soft-slate);
    transition: color 0.3s ease;
}

.copyright-right a:hover {
    color: var(--sovereign-gold);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-container {
        padding: 0 2rem;
    }

    .footer-actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .footer-actions .btn-primary,
    .footer-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .footer-headline h2 {
        font-size: 1.8rem;
    }

    .footer-copyright-row {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .copyright-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════
   WHATSAPP STICKY FAB
═══════════════════════════════════════════ */
.wa-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 8999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 14px rgba(37, 211, 102, .45),
        0 2px 6px rgba(0, 0, 0, .12);
    cursor: pointer;
    text-decoration: none;
    transition: transform .35s ease, box-shadow .35s ease, background .3s;
}

.wa-fab:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow:
        0 8px 28px rgba(37, 211, 102, .55),
        0 4px 12px rgba(0, 0, 0, .15);
    background: #20bd5a;
}

.wa-fab:active {
    transform: scale(.96);
}

.wa-fab-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Pulse ring */
.wa-fab-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .5);
    animation: waPulse 2.4s cubic-bezier(.4, 0, .6, 1) infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: .6;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (max-width: 520px) {
    .wa-fab {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .wa-fab-icon {
        width: 28px;
        height: 28px;
    }
}


/* === Sidebar Portal - clips the sidebar so it never bleeds past the viewport edge === */
.sidebar-portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1050;
}

.sidebar-portal:has(.mobile-sidebar.active) {
    pointer-events: auto;
}

/* === Mobile Sidebar === */
/* Both overlay and sidebar are position:absolute inside the fixed portal.
   This makes them part of the portal's overflow context so portal's
   overflow:hidden truly clips them - position:fixed bypasses overflow. */
.mobile-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background-color: var(--ivory);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(13, 27, 62, 0.05);
}

.sidebar-header img {
    height: 55px;
}

.sidebar-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.sidebar-links>li {
    margin-bottom: 1rem;
}

.sidebar-links a {
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.sidebar-has-dropdown .sidebar-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.sidebar-dropdown-trigger svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.sidebar-has-dropdown.active>.sidebar-dropdown-trigger svg {
    transform: rotate(180deg);
}

.chevron,
.chevron-sm {
    transition: transform 0.3s ease;
}

.has-mega-menu.active>a .chevron,
.has-simple-dropdown.active>a .chevron,
.has-sub-menu.active>a .chevron-sm {
    transform: rotate(180deg);
}

.sidebar-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.sidebar-dropdown-menu>.menu-inner-wrapper {
    overflow: hidden;
}

.sidebar-has-dropdown.active>.sidebar-dropdown-menu {
    grid-template-rows: 1fr;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.sidebar-dropdown-menu li {
    margin-bottom: 0.4rem;
    padding-left: 1rem;
}

.sidebar-dropdown-menu li:last-child {
    margin-bottom: 0;
}

.sidebar-dropdown-menu a {
    font-size: 0.95rem;
    color: #555;
}

.sidebar-dropdown-menu a.sidebar-explore-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--sovereign-gold);
}

.sidebar-explore-all i,
.sidebar-explore-all svg {
    width: 15px;
    height: 15px;
}

.sidebar-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-outline-btn {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sidebar-cta {
    width: 100%;
    justify-content: center;
}



/* Custom Dropdown (Global) */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(13, 27, 62, 0.15);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--charcoal);
    background-color: #fafafa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.dropdown-selected.open {
    border-color: var(--sovereign-gold);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown-selected .select-icon {
    color: var(--deep-navy);
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.dropdown-selected.open .select-icon {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(13, 27, 62, 0.15);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 transparent;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.dropdown-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px;
}

.dropdown-list::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 8px;
}

.dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #c1c1c1;
}

.dropdown-selected.open+.dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-list li {
    padding: 0.8rem 1.25rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-list li:hover {
    background-color: rgba(201, 168, 76, 0.1);
    color: var(--sovereign-gold);
}

/* === Faded Dropdown (Dependent) === */
.faded-dropdown {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* === Searchable Dropdown (Global) === */
.searchable-dropdown {
    position: relative;
    width: 100%;
}

.searchable-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 40px;
    padding: 0 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.searchable-selected.has-value {
    color: #1a1a1a;
}

.searchable-selected.open {
    border-color: var(--sovereign-gold);
    box-shadow: 0 0 0 3px rgba(184, 151, 88, 0.1);
}

.searchable-selected .select-icon {
    width: 20px;
    height: 20px;
    color: #1a1a1a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.searchable-selected.open .select-icon {
    transform: rotate(180deg);
}

.searchable-panel {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 50;
}

.searchable-selected.open+.searchable-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.searchable-search-wrap {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.searchable-search {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background-color: #fbfbfb;
    transition: all 0.2s ease;
}

.searchable-search:focus {
    outline: none;
    border-color: var(--sovereign-gold);
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(184, 151, 88, 0.1);
}

.searchable-list {
    list-style: none;
    margin: 0;
    padding: 0.3rem 0;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.searchable-list::-webkit-scrollbar {
    width: 6px;
}

.searchable-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.searchable-list li {
    padding: 0.8rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.searchable-list li:hover,
.searchable-list li.active {
    background-color: var(--ivory, #fbfbfb);
    color: var(--sovereign-gold);
}

.searchable-empty {
    padding: 1rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    display: none;
}

.searchable-empty.show {
    display: block;
}