/* B2B audience tab bar — ported from .NET _B2BBandPartial.cshtml */
.theme-main-menu {
    padding: 0 !important;
}

.theme-main-menu > .inner-content {
    padding: 35px 40px;
}

.b2b-band {
    background: #ffffff;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
}

.b2b-band-shell {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.b2b-band-inner {
    display: flex;
    align-items: center;
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.b2b-band-inner::-webkit-scrollbar {
    display: none;
}

.b2b-band-shell::before,
.b2b-band-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.b2b-band-shell::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.b2b-band-shell::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.b2b-band-shell[data-overflow-left="true"]::before {
    opacity: 1;
}

.b2b-band-shell[data-overflow-right="true"]::after {
    opacity: 1;
}

.b2b-band-hint {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    opacity: 0;
    transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms;
    padding: 0;
}

.b2b-band-hint:hover {
    transform: translateY(-50%) scale(1.06);
}

.b2b-band-hint:active {
    transform: translateY(-50%) scale(0.96);
}

.b2b-band-hint svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .b2b-band-shell[data-overflow-right="true"] .b2b-band-hint {
        display: flex;
        opacity: 0.95;
    }

    .b2b-band-shell::before,
    .b2b-band-shell::after {
        width: 44px;
    }
}

.b2b-band-inner.b2b-band-tease {
    animation: b2bBandTease 720ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}

@keyframes b2bBandTease {
    0% {
        transform: translateX(0);
    }
    35% {
        transform: translateX(-22px);
    }
    70% {
        transform: translateX(4px);
    }
    100% {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .b2b-band-inner.b2b-band-tease {
        animation: none;
    }

    .b2b-band-shell::before,
    .b2b-band-shell::after,
    .b2b-band-hint {
        transition: none;
    }
}

.b2b-band-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
    letter-spacing: 0.2px;
}

.b2b-band-link:hover {
    color: #111827;
    text-decoration: none;
}

.b2b-band-link.active {
    color: #111827;
    border-bottom-color: #111827;
}

@media (max-width: 991px) {
    .theme-main-menu > .inner-content {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .b2b-band-link {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 575px) {
    .theme-main-menu > .inner-content {
        padding: 20px 12px;
    }
}

.theme-main-menu .top-header .logo.tenant-logo-slot .tenant-logo-text {
    font-family: 'Roboto', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    color: var(--theme-color, #244034);
    letter-spacing: -0.4px;
}