
/* ==========================================================
   Site Header for Results Pages
   ========================================================== */

.site-header {
    position: relative;
    z-index: 500;
    background:
        radial-gradient(circle at 12% 0%, rgba(31,155,255,.16), transparent 28%),
        linear-gradient(135deg, #041a31 0%, #072445 48%, #082b4f 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-header .container {
    position: relative;
}

.topbar {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

.topbar-contact {
    white-space: nowrap;
    font-weight: 700;
}

.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.topbar-select {
    position: relative;
}

.topbar-select-btn {
    height: 34px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #fff;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: .18s ease;
}

.topbar-select-btn:hover,
.topbar-select.is-open .topbar-select-btn {
    background: rgba(255,255,255,.17);
    border-color: rgba(255,255,255,.34);
}

.topbar-select-icon {
    width: 18px;
    display: inline-flex;
    justify-content: center;
}

.topbar-select-arrow {
    opacity: .75;
    transform: translateY(-1px);
}

.topbar-select-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 230px;
    background: #fff;
    border: 1px solid #e4edf6;
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(7,31,57,.22);
    padding: 7px;
    display: none;
    z-index: 900;
}

.topbar-select-menu-right {
    left: auto;
    right: 0;
}

.topbar-select.is-open .topbar-select-menu {
    display: block;
}

.topbar-select-item {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: background .15s ease;
}

.topbar-select-item:hover,
.topbar-select-item.active {
    background: #edf6ff;
}

.topbar-select-item span {
    color: #082845;
    font-size: 14px;
    font-weight: 900;
}

.topbar-select-item small {
    color: #728297;
    font-size: 12px;
    font-weight: 800;
}

.topbar-login {
    color: rgba(255,255,255,.86);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.topbar-register {
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #082845;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    white-space: nowrap;
}

.logo span {
    color: #1f9bff;
}

.menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.menu a {
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.15px;
    transition: .18s ease;
}

.menu a:hover {
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

@media(max-width: 1100px) {
    .menu {
        gap: 18px;
    }

    .menu a {
        font-size: 11px;
    }
}

@media(max-width: 900px) {
    .topbar {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 14px;
        gap: 12px;
    }

    .topbar-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .navbar {
        min-height: 76px;
        align-items: center;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 22px 60px rgba(7,31,57,.20);
        z-index: 800;
    }

    .menu.show {
        display: flex;
    }

    .menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: 12px;
        color: #082845;
        padding: 0 12px;
    }

    .menu a:hover {
        background: #edf6ff;
        color: #082845;
    }

    .topbar-select-menu,
    .topbar-select-menu-right {
        left: 0;
        right: auto;
        width: min(230px, calc(100vw - 42px));
    }
}
