/* Top toolbar — quick links & portal bar */
.site-top-toolbar {
    position: relative;
    padding: 0 !important;
    background: linear-gradient(90deg, #04121c 0%, #061a28 52%, #081f2f 100%) !important;
    border-bottom: 1px solid rgba(249, 200, 51, 0.14);
    overflow: hidden;
}

.site-top-toolbar .site-top-toolbar-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 50%, rgba(249, 200, 51, 0.1) 0%, transparent 34%),
        radial-gradient(circle at 88% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 28%);
    pointer-events: none;
}

.site-top-toolbar .container {
    position: relative;
    z-index: 1;
}

.site-top-toolbar-row {
    min-height: 46px;
}

/* Left quick-link menu */
.site-top-toolbar-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-top-toolbar-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.site-top-toolbar-menu > li {
    display: flex;
    align-items: center;
}

.site-top-toolbar-menu > li + li::before {
    content: '';
    width: 1px;
    height: 16px;
    margin: 0 6px;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.site-top-toolbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none !important;
    border-radius: 999px;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    white-space: nowrap;
}

.site-top-toolbar-link i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: #f9c833;
    background: rgba(249, 200, 51, 0.12);
    border-radius: 50%;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.site-top-toolbar-link:hover,
.site-top-toolbar-link:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.site-top-toolbar-link:hover i,
.site-top-toolbar-link:focus i {
    color: #061a28;
    background: #f9c833;
    transform: scale(1.05);
}

/* Right section */
.site-top-toolbar-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    text-align: right !important;
    padding: 6px 0;
}

.site-top-toolbar-social {
    display: inline-flex !important;
    margin-right: 0 !important;
}

.site-top-toolbar-social ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-top-toolbar-social ul li {
    display: inline-flex !important;
    margin: 0 !important;
}

.site-top-toolbar-social ul li + li {
    margin-left: 0 !important;
}

.site-top-toolbar-social ul li a {
    width: 30px;
    height: 30px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.site-top-toolbar-social ul li a:hover,
.site-top-toolbar-social ul li a:focus {
    color: #061a28 !important;
    background: #f9c833 !important;
    border-color: #f9c833 !important;
    transform: translateY(-2px);
}

.site-top-toolbar-portal-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #061a28 !important;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%) !important;
    border-radius: 999px;
    border: none;
    box-shadow: 0 4px 14px rgba(249, 200, 51, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    text-decoration: none !important;
    white-space: nowrap;
}

.site-top-toolbar-portal-btn:hover,
.site-top-toolbar-portal-btn:focus {
    color: #061a28 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 200, 51, 0.38);
    filter: brightness(1.03);
}

.site-top-toolbar-portal-btn i {
    font-size: 0.82rem;
}

.site-top-toolbar-accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #f9c833 35%, #f9c833 65%, transparent 100%);
    opacity: 0.75;
}

/* Responsive */
@media (max-width: 991px) {
    .site-top-toolbar-row {
        gap: 8px;
    }

    .site-top-toolbar-nav {
        justify-content: center;
    }

    .site-top-toolbar-menu {
        justify-content: center;
    }

    .site-top-toolbar-right {
        justify-content: center !important;
    }
}

@media (max-width: 767px) {
    .site-top-toolbar-menu {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        max-width: 100%;
    }

    .site-top-toolbar-menu::-webkit-scrollbar {
        display: none;
    }

    .site-top-toolbar-menu > li + li::before {
        display: none;
    }

    .site-top-toolbar-link {
        padding: 6px 10px;
        font-size: 0.76rem;
    }

    .site-top-toolbar-right {
        flex-wrap: wrap;
        gap: 10px;
    }

    .site-top-toolbar-portal-btn span {
        display: inline;
    }
}

@media (max-width: 575px) {
    .site-top-toolbar-portal-btn {
        padding: 7px 12px !important;
    }
}
