
.role-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafc;
}

.role-card:hover {
    border-color: #0d3b66;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.role-card .icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.role-card .label {
    font-weight: 600;
    font-size: 14px;
}

.role-card.active {
    border: 2px solid #0d3b66;
    background: #eef4ff;
}

#continueBtn {
    background: #0d3b66;
    border: none;
    border-radius: 30px;
    font-weight: 600;
}

.custom-button {
        width: 100%;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 8px 2rem;
        height: 45px;
        font-size: 16px;
        line-height: 1.2;
        border: none;
        border-radius: 50px;
        white-space: normal;
        overflow: hidden;
        position: relative;
    }

    .custom-button::after {
        content: '➔';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: white;
        border-radius: 50%;
        height: 30px;
        width: 30px;
        font-size: 1.35rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom-button:hover {
        cursor: pointer;

    }

    .left-column .custom-button {
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        padding-left: 2.5rem;
    }

    .right-column .custom-button {
        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        padding-right: 2.5rem;
    }

    .left-column .custom-button::after {
        right: 6px;
    }

    .right-column .custom-button::after {
        left: 6px;
        transform: translateY(-50%) rotate(180deg);
    }

    /* Button-specific arrow colors */
    .btn-primary.custom-button::after {
        color: #0d6efd;
    }

    .btn-warning.custom-button::after {
        color: #ffc107;
    }

    .btn-danger.custom-button::after {
        color: #dc3545;
    }

    .btn-success.custom-button::after {
        color: #198754;
    }

    @media (max-width: 576px) {
        .custom-button {
            font-size: 10px;
            height: 35px;
            padding: 8px 1.5rem;
        }

        .custom-button::after {
            height: 25px;
            width: 25px;
            font-size: 0.8rem;
        }

        .left-column .custom-button {

            padding-left: 2px;
        }

        .right-column .custom-button {
            padding-right: 2px;
        }
    }

    @media (max-width: 987px) {

        /* Mobile Screen */
        .brand-logo img {
            max-width: 280px !important;
        }
    }

    .n-header--bottom h4 {
        font-size: 2rem;
        /* Adjust font size for smaller screens */
        font-weight: bold;
        margin-bottom: 10px;
    }

    .n-header--bottom span {
        font-size: 1rem;
        /* Adjust font size for smaller screens */
        color: #6c757d;
    }

    .button-style {
        background-color: white !important;
        color: #007bff !important;
        border: 1px solid #007bff !important;
        border-color: #000000 !important;
        border-width: 2px !important;
        padding: 10px 20px !important;
        height: 50px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
    }

    .button-style:hover {
        background-color: #007bff !important;
        /* Blue background on hover */
        color: white !important;
        /* White text on hover */
    }

    .button-style:active,
    .button-style:focus {
        background-color: #007bff !important;
        color: white !important;
    }

    .btn-primary {
        background: #4471ad !important;
    }

    .header-style {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
        width: 100%;
        min-height: 68px;
    }

    .header-style > div {
        min-width: 0;
    }

    .header-style .n-header--top__left.main-menu {
        display: flex;
        align-items: center;
        flex: 1 1 560px;
        min-width: 0;
    }

    .header-style .n-header--top__left.main-menu .container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-style > div:first-child,
    .ogs-header-topbar {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header-style .custom-logo {
        max-height: 80px;
        width: auto;
        max-width: 260px;
        margin-left: 0;
    }

    @media (max-width: 576px) {
        .header-style .custom-logo {
            max-height: 70px;
            max-width: 240px;
            margin-left: -6px;
        }
    }

    .header-controls,
    .header-controls.d-flex.align-items-center {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
        min-width: 0;
        flex: 0 1 auto;
        margin-left: auto;
        max-width: 420px;
    }

    .header-controls > * {
        min-width: 0;
    }

    .header-controls .dropdown > button {
        white-space: nowrap;
    }

    .header-style .menu-active-classes {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .header-style .menu-active-classes .menu-item {
        white-space: nowrap;
    }

    .header-style .menu-active-classes .menu-item a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        border-radius: 10px;
        min-height: 44px;
        text-decoration: none;
        color: inherit;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .header-style .menu-active-classes .menu-item a:hover {
        background: rgba(255, 255, 255, 0.92);
    }

    .header-controls .lang-dropdown {
        min-width: 0;
        max-width: 100%;
    }

    .header-controls .lang-dropdown .lang-btn {
        white-space: nowrap;
        width: auto;
    }

    .header-controls .lang-dropdown .lang-menu {
        right: 0;
        left: auto;
        min-width: 220px;
    }

    .mbl-bottom .container {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
        justify-content: flex-start;
    }

    .mbl-bottom .dropdown {
        min-width: 170px;
    }

    @media (max-width: 992px) {
        .header-style {
            justify-content: flex-start;
        }

        .header-style .n-header--top__left.main-menu {
            order: 3;
            width: 100%;
        }

        .header-controls {
            order: 2;
            width: 100%;
            justify-content: center;
        }

        .ogs-header-topbar {
            order: 1;
            width: 100%;
        }

        .header-style .menu-active-classes {
            justify-content: center;
        }
    }

    @media (max-width: 768px) {
        .header-style {
            gap: 12px;
        }

        .header-style .menu-active-classes .menu-item a {
            padding: 8px 10px;
        }

        .header-controls {
            justify-content: center;
        }

        .mbl-bottom .dropdown {
            min-width: 100%;
        }
    }




    /* Search Bar Styling */
    .search-form {
        display: none;
        /* margin-top: 10px; */
        align-items: center;
        /* Align items vertically in the center */
    }

    .search-form.active {
        display: flex;
        /* Flexbox ensures the input and button are in one line */
        /* gap: 10px; */
        /* Adds spacing between the input and button */
    }

    .brand-logo {
        max-width: 75px !important;
    }


    @media (min-width: 1440px) {
        .heroHeading {
            font-size: 4.5rem !important;
        }
    }

    @media (min-width: 1024px) and (max-width: 1439px) {
        .heroHeading {
            font-size: 4rem !important;
        }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
        .heroHeading {
            font-size: 3rem !important;
        }
    }



    @media (min-width: 768px) {
        .n-header--bottom {
            padding: 130px !important;
        }

        .n-header--bottom h4 {
            font-size: 2.5rem;
        }

        .n-header--bottom span {
            font-size: 1.25rem;
        }

        .selectIndCount {
            font-size: 1.1rem;
            margin-bottom: 3rem;
        }


    }

    /* For screens 320px and smaller */
    @media (max-width: 320px) {
        .headerButton {
            padding: 35px 8px;
            /* Padding for small screens */
        }
    }

    /* For screens between 321px and 375px */
    @media (min-width: 321px) {
        .headerButton {
            padding: 35px 36px;
            /* Padding for medium screens */
        }
    }

    @media (min-width: 375px) {
        .headerButton {
            padding: 35px 36px;
            /* Padding for medium screens */
        }
    }

    /* For screens 376px and larger */
    @media (min-width: 376px) {
        .headerButton {
            padding: 35px 63px;
            /* Padding for larger screens */
        }
    }

    @media (max-width: 550px) {
        .header-style {
            justify-content: flex-end;
        }

        .ogs-header-topbar {
            flex-grow: 1;
        }
    }


    @media (max-width: 550px) {
        .mobile-btn {
            padding: 0 !important;
        }
    }

    @media (max-width: 767px) {
        .search-btn-mobile {
            align-self: flex-start !important;
            padding: 5px 16px 8px !important;
        }
    }

    .tab-bar {
        background-color: #f8f9fa;
    }

    .tab-bar .btn {
        font-weight: bold;
        border-radius: 0;
        /* Remove button border radius to make them connected */
    }

    .tab-bar .blue {
        background-color: #004085;
        color: white;
    }

    .tab-bar .light-blue {
        background-color: #568bc3;
        color: white;
    }

    .tab-bar .red {
        background-color: #d9534f;
        color: white;
    }

    .tab-bar .green {
        background-color: #5cb85c;
        color: white;
    }

    .tab-bar .yellow {
        background-color: #ffc107;
        color: white;
    }

    @media (min-width: 1024px) {
        .carouselItemText h1 {
            font-size: 3.5rem;
        }

        .carouselItemText p {
            font-size: 1.5rem;
        }

        .carouselItemText {
            font-size: 1.5rem;
        }


    }

    @media (max-width: 768px) {

        .carouselItemText a {
            padding: 10px 10px;
            font-size: 12px;
        }
    }

/* ==========================================================
   OGS GLASSMORPHISM NAVBAR — Career Workforce
   ========================================================== */

.n-header--top {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(66, 133, 244, 0.15);
    box-shadow: 0 4px 20px rgba(10, 30, 80, 0.08);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.n-header--top.ogs-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 32px rgba(10, 30, 80, 0.14);
}

.ogs-nav-link {
    color: #1a2330 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.ogs-nav-link:hover {
    color: #25478F !important;
    background: rgba(37, 71, 143, 0.08);
    box-shadow: none;
}

/* Login: filled Red → hover filled Yellow (dark text) */
.ogs-btn-login {
    background: #EA4335 !important;
    color: #ffffff !important;
    border: 2px solid #EA4335 !important;
    border-radius: 50px !important;
    padding: 9px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(234,67,53,.35) !important;
    transition: all 0.22s ease !important;
}

.ogs-btn-login:hover {
    background: #FBBC05 !important;
    border-color: #FBBC05 !important;
    color: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(251,188,5,.40) !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* Sign Up: filled Blue → hover filled Green */
.ogs-btn-signup {
    background: #4285F4 !important;
    color: #fff !important;
    border: 2px solid #4285F4 !important;
    border-radius: 50px !important;
    padding: 9px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(66,133,244,.38) !important;
    transition: all 0.22s ease !important;
    cursor: pointer;
}

.ogs-btn-signup:hover {
    background: #34A853 !important;
    border-color: #34A853 !important;
    box-shadow: 0 6px 20px rgba(52,168,83,.40) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.ogs-mobile-ham {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(66, 133, 244, 0.25);
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    padding: 0;
    margin-left: 6px;
}

.ogs-mobile-ham span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1a2330;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.ogs-mobile-ham:hover {
    background: rgba(66, 133, 244, 0.1);
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 0 0 12px rgba(66, 133, 244, 0.2);
}

.ogs-mobile-ham:hover span { background: #4285F4; }

@media (max-width: 991px) {
    .ogs-mobile-ham { display: flex; }
}

.ogs-mobile-ham span::before,
.ogs-mobile-ham span::after,
.ogs-mobile-ham-btn span::before,
.ogs-mobile-ham-btn span::after {
    display: none !important;
    content: none !important;
}

button.ogs-mobile-ham,
button.ogs-mobile-ham-btn {
    overflow: visible !important;
    margin-top: 0 !important;
    height: 40px !important;
}

button.ogs-mobile-ham span,
button.ogs-mobile-ham-btn span {
    position: static !important;
    width: 20px !important;
    margin: 0 !important;
}

/* ===== MOBILE GLASS DRAWER ===== */

.ogs-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 50, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ogs-mobile-overlay.open { display: block; opacity: 1; }

.ogs-mobile-drawer {
    position: fixed;
    top: 0;
    right: -105%;
    width: min(320px, 90vw);
    height: 100dvh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-left: 1px solid rgba(66, 133, 244, 0.15);
    box-shadow: -8px 0 48px rgba(10, 30, 80, 0.18);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ogs-mobile-drawer.open { right: 0; }

.ogs-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    border-bottom: 1px solid rgba(66, 133, 244, 0.1);
}

.ogs-drawer-header img { max-height: 38px; width: auto; }

.ogs-drawer-close {
    background: rgba(234, 67, 53, 0.07);
    border: 1px solid rgba(234, 67, 53, 0.25);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #EA4335;
    transition: all 0.2s ease;
}

.ogs-drawer-close:hover {
    background: rgba(234, 67, 53, 0.15);
    box-shadow: 0 0 12px rgba(234, 67, 53, 0.22);
}

.ogs-drawer-nav {
    padding: 20px 20px 12px;
    flex: 1;
}

.ogs-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    border-radius: 11px;
    color: #1a2330;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 4px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ogs-drawer-nav a:hover {
    background: rgba(66, 133, 244, 0.08);
    color: #4285F4;
    transform: translateX(4px);
}

.ogs-drawer-divider {
    height: 1px;
    background: rgba(66, 133, 244, 0.1);
    margin: 14px 0;
}

.ogs-drawer-lang { padding: 0 0 12px; }

.ogs-drawer-lang .lang-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ogs-drawer-footer {
    padding: 16px 20px 32px;
    border-top: 1px solid rgba(66, 133, 244, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ogs-drawer-footer a {
    display: block;
    text-align: center;
    padding: 13px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.22s ease;
}

/* Drawer Login: Red filled → Yellow hover (matches desktop) */
.ogs-drawer-login {
    background: #EA4335 !important;
    border: 2px solid #EA4335 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(234,67,53,.35);
}
.ogs-drawer-login:hover {
    background: #FBBC05 !important;
    border-color: #FBBC05 !important;
    color: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(251,188,5,.40);
    transform: translateY(-2px);
}

/* Drawer Sign Up: Blue filled → Green hover (matches desktop) */
.ogs-drawer-signup {
    background: #4285F4 !important;
    border: 2px solid #4285F4 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(66,133,244,.38);
}
.ogs-drawer-signup:hover {
    background: #34A853 !important;
    border-color: #34A853 !important;
    box-shadow: 0 6px 22px rgba(52,168,83,.40);
    transform: translateY(-2px);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(66, 133, 244, 0.2);
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #1a2330;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    cursor: pointer;
}

.lang-btn:hover {
    background: rgba(66, 133, 244, 0.06);
    border-color: rgba(66, 133, 244, 0.4);
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.14);
}

.lang-menu {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(66, 133, 244, 0.12);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(10, 30, 80, 0.14);
}

.lang-menu div { border-radius: 6px; transition: background 0.15s ease; }
.lang-menu div:hover { background: rgba(66, 133, 244, 0.07); }

/* (Candidates / Companies / Pricing are removed from the GUEST menu in Blade —
   scoped to guests only, so logged-in company/candidate menus are unaffected.) */

/* ===== SINGLE-ROW DESKTOP NAV (logo + menu + login/signup on one line) ===== */
.n-header--top .header-style {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px;
}

/* Centered header content with side margins on desktop */
.ogs-header-inner {
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .ogs-header-inner {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .n-header--top .header-style {
        gap: 8px !important;
    }

    /* Logo + nav stay grouped; utilities align right */
    .n-header--top .header-style .n-header--top__left.main-menu {
        flex: 0 1 auto !important;
        min-width: 0 !important;
    }

    .n-header--top .header-style > .header-controls {
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }

    .ogs-desktop-nav {
        flex: 0 1 auto !important;
    }

    .ogs-header-logo .custom-logo {
        margin-left: 0 !important;
    }
}

@media (min-width: 1200px) {
    .ogs-header-inner {
        max-width: 1320px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 991px) {
    .ogs-header-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .n-header--top .header-style {
        flex-wrap: wrap !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    /* Top bar must span the full header width on mobile */
    .n-header--top .header-style > .ogs-header-topbar {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
    }

    /* Guest desktop nav row — not needed on mobile (drawer handles it) */
    .n-header--top .header-style > .main-menu:has(.ogs-desktop-nav) {
        display: none !important;
    }

    /* Auth / role nav — drawer handles mobile navigation */
    .n-header--top .header-style > .n-header--top__left.main-menu {
        display: none !important;
    }

    .n-header--top .header-style > .header-controls {
        display: none !important;
    }

    .n-header--top .header-style .tw-mb-post-job {
        display: none !important;
    }

    .n-header--top .header-style > .header-controls.ogs-guest-controls {
        display: none !important;
    }
}

/* Main-menu column — natural width on desktop (see min-width block above) */
@media (max-width: 991px) {
    .n-header--top .header-style .n-header--top__left.main-menu {
        flex: 0 1 auto !important;
        min-width: 0 !important;
    }
}

/* Neutralize the Bootstrap .container inside the header menu — it was forcing a
   ~1320px width and pushing the Login / Sign Up buttons onto a second line. */
.n-header--top .header-style .main-menu .container {
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ===== UNIFIED DESKTOP NAV (admin menu + utilities) ===== */
.ogs-desktop-nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .ogs-desktop-nav .menu-active-classes {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}

.ogs-desktop-nav .menu-active-classes {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ogs-header-utilities {
    flex-shrink: 0;
}

.n-header--top .header-style {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

/* main-menu flex set in desktop @media (min-width: 992px) above */

/* ===== PUBLIC MENU LINKS — unified ogs-nav-link ===== */
.menu-active-classes .menu-item a.ogs-nav-link,
.ogs-nav-link {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a2330 !important;
    text-decoration: none !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    transition: color 0.2s ease, background 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.menu-active-classes .menu-item a.ogs-nav-link:hover,
.ogs-nav-link:hover {
    color: #25478F !important;
    background: rgba(37, 71, 143, 0.08) !important;
    box-shadow: none !important;
}

.menu-active-classes .menu-item a.ogs-nav-link.active,
.menu-active-classes .menu-item a.text-primary.active,
.ogs-nav-link.active {
    color: #25478F !important;
    background: rgba(37, 71, 143, 0.1) !important;
}

/* ===== ALLOW HEADER-CONTROLS TO EXPAND ===== */
.header-controls {
    max-width: none !important;
    flex-shrink: 0 !important;
}

/* ===== HIDE GUEST HEADER-CONTROLS ON MOBILE (glass drawer handles it) ===== */
@media (max-width: 991px) {
    .ogs-guest-controls { display: none !important; }
    .ogs-desktop-nav { display: none !important; }
}

/* ===== MOBILE: search icon button glass style ===== */
.ogs-search-btn {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(66, 133, 244, 0.25);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a2330;
    transition: all 0.2s ease;
    padding: 0;
}

.ogs-search-btn:hover {
    background: rgba(66, 133, 244, 0.1);
    border-color: rgba(66, 133, 244, 0.5);
    color: #4285F4;
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.2);
}

/* ===== MOBILE HEADER TOP BAR (logo + search + hamburger) ===== */
/* Desktop: logo only — nav + login stay in sibling columns */
.ogs-header-topbar {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
}

.ogs-header-logo {
    flex: 0 0 auto;
    line-height: 0;
    display: block;
}

.ogs-header-logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ogs-header-topbar-actions {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.ogs-header-topbar-actions .dropdown {
    position: relative;
}

@media (min-width: 992px) {
    .n-header--top .header-style > .ogs-header-topbar {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }

    .ogs-header-logo .custom-logo {
        max-height: 80px;
        max-width: 260px;
    }
}

@media (max-width: 991px) {
    .n-header--top .header-style {
        padding-top: 8px;
        padding-bottom: 8px;
        box-sizing: border-box;
    }

    .ogs-header-topbar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 10px;
        width: 100% !important;
    }

    .ogs-header-logo {
        grid-column: 1;
        justify-self: start;
        max-width: 100%;
    }

    .ogs-header-logo .custom-logo {
        max-height: 48px !important;
        max-width: min(180px, 100%) !important;
        margin-left: 0 !important;
    }

    .ogs-header-topbar-actions {
        display: flex !important;
        grid-column: 2;
        justify-self: end;
        margin-left: 0 !important;
    }

    .ogs-mobile-ham,
    .ogs-header-topbar .mobile-menu {
        display: flex !important;
    }

    .ogs-search-btn {
        display: inline-flex !important;
    }
}

/* Auth mobile menu button — same visual as guest hamburger */
.ogs-mobile-ham-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(66, 133, 244, 0.25);
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    padding: 0;
    margin: 0;
}

.ogs-mobile-ham-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1a2330;
    border-radius: 2px;
}

.ogs-header-topbar .mobile-menu {
    display: none;
    margin: 0;
}

.ogs-header-topbar .menu-click {
    margin-left: 0;
}

/* ===== NAVBAR ALIGNMENT — logo | nav | utilities (no overlap) ===== */
@media (min-width: 992px) {
    .n-header--top .header-style {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center !important;
        column-gap: 14px;
        row-gap: 0;
        flex-wrap: nowrap !important;
        width: 100%;
        min-height: 72px;
    }

    .n-header--top .header-style > .ogs-header-topbar {
        grid-column: 1;
        grid-row: 1;
        flex: none !important;
        width: auto !important;
        max-width: none !important;
    }

    .n-header--top .header-style > .n-header--top__left.main-menu {
        grid-column: 2;
        grid-row: 1;
        flex: none !important;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .n-header--top .header-style > .header-controls {
        grid-column: 3;
        grid-row: 1;
        flex: none !important;
        margin-left: 0 !important;
        width: auto !important;
        max-width: none !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end;
        align-self: center;
        position: relative;
        z-index: 2;
    }

    .ogs-desktop-nav {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .ogs-desktop-nav .menu-active-classes {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: center;
        row-gap: 2px;
        column-gap: 2px;
        max-width: 100%;
    }

    .ogs-header-utilities {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ogs-header-utilities__item {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .ogs-header-utilities .lang-dropdown {
        min-width: 0;
    }

    .ogs-header-utilities .lang-btn,
    .ogs-header-utilities .ogs-btn-login,
    .ogs-header-utilities .ogs-btn-signup {
        min-height: 40px;
        box-sizing: border-box;
        align-items: center;
    }

    .ogs-guest-controls {
        padding: 0;
        gap: 0;
    }
}

/* Tighter spacing on common laptop widths */
@media (min-width: 992px) and (max-width: 1399px) {
    .ogs-header-logo .custom-logo {
        max-height: 64px !important;
        max-width: 200px !important;
        margin-left: 0 !important;
    }

    .ogs-nav-link {
        padding: 6px 9px !important;
        font-size: 13px !important;
    }

    .ogs-btn-login,
    .ogs-btn-signup {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }

    .lang-btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    #current-lang {
        max-width: 68px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: middle;
    }
}

@media (min-width: 1400px) {
    .ogs-header-logo .custom-logo {
        max-height: 80px !important;
        max-width: 260px !important;
        margin-left: 0 !important;
    }
}

/* Prevent header from causing page-level horizontal scroll */
.n-header--top,
.n-header--top .ogs-header-inner {
    overflow-x: clip;
    max-width: 100%;
}
