.auth-portal-mobile-header {
    display: none !important;
}

@media (max-width: 767px) {
    .auth-portal-mobile-header {
        --auth-portal-mobile-header-height: 60px;
        position: sticky;
        top: 0;
        z-index: 10000;
        display: block !important;
        width: 100%;
        min-height: var(--auth-portal-mobile-header-height);
        margin: 0;
        padding: 0;
        overflow: visible;
        background: rgba(255, 255, 255, 0.75);
        border: 0;
        box-sizing: border-box;
        font-family: 'Archivo', sans-serif;
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        backdrop-filter: blur(30px) saturate(180%);
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: var(--auth-portal-mobile-header-height);
        min-height: var(--auth-portal-mobile-header-height);
        margin: 0;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-logo {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        max-height: 42px;
        color: #111111;
        text-decoration: none;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-logo-image,
    .auth-portal-mobile-header .auth-portal-mobile-header-logo img {
        display: block;
        width: auto;
        max-width: min(62vw, 220px);
        height: auto;
        max-height: 42px;
        object-fit: contain;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-site-name {
        overflow: hidden;
        color: #111111;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-toggle,
    .auth-portal-mobile-header .auth-portal-mobile-header-toggle:hover,
    .auth-portal-mobile-header .auth-portal-mobile-header-toggle:focus,
    .auth-portal-mobile-header .auth-portal-mobile-header-toggle:active {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        margin: 0 0 0 16px;
        padding: 10px;
        color: #000000 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0;
        box-shadow: none !important;
        opacity: 1 !important;
        cursor: pointer;
        transform: none;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-toggle-icon {
        position: relative;
        display: flex;
        width: 20px;
        height: 16px;
        flex-direction: column;
        justify-content: space-between;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-toggle-icon span {
        display: block;
        width: 20px;
        height: 2px;
        background: #000000 !important;
        border-radius: 2px;
        transform-origin: center;
        transition: none;
    }

    .auth-portal-mobile-header.is-open .auth-portal-mobile-header-toggle-icon span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .auth-portal-mobile-header.is-open .auth-portal-mobile-header-toggle-icon span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .auth-portal-mobile-header.is-open .auth-portal-mobile-header-toggle-icon span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-menu {
        display: grid;
        grid-template-rows: 0fr;
        width: 100%;
        margin: 0;
        padding: 0 20px;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        box-sizing: border-box;
        transition: grid-template-rows 0.25s ease, opacity 0.2s ease, visibility 0s linear 0.25s;
    }

    .auth-portal-mobile-header.is-open .auth-portal-mobile-header-menu {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;
        transition-delay: 0s;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-menu-inner {
        display: grid;
        min-height: 0;
        gap: 10px;
        overflow: hidden;
        padding: 0;
        transition: padding 0.25s ease;
    }

    .auth-portal-mobile-header.is-open .auth-portal-mobile-header-menu-inner {
        padding: 8px 0 20px;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        margin: 0;
        padding: 10px 20px;
        border-radius: 10px;
        box-sizing: border-box;
        font-family: 'Archivo', sans-serif;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-link--primary,
    .auth-portal-mobile-header .auth-portal-mobile-header-link--primary:hover,
    .auth-portal-mobile-header .auth-portal-mobile-header-link--primary:focus {
        color: #ffffff;
        background: #477ef9;
        border: 1px solid #477ef9;
    }

    .auth-portal-mobile-header .auth-portal-mobile-header-link--secondary,
    .auth-portal-mobile-header .auth-portal-mobile-header-link--secondary:hover,
    .auth-portal-mobile-header .auth-portal-mobile-header-link--secondary:focus {
        color: #477ef9;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid #477ef9;
    }
}
