.auth-page {
    position: relative;
    min-height: 100vh;
    margin: 0;
    background: #0a0f6e;
    overflow-x: hidden;
}

.auth-lang-bar {
    position: absolute;
    top: 18px;
    left: 24px;
    z-index: 40;
    width: auto;
}

.auth-lang-bar .list-inline {
    margin: 0;
}

.auth-lang-bar .dropdown {
    position: relative;
}

.auth-lang-bar .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
}

.auth-lang-bar .dropdown-toggle span {
    color: rgba(255, 255, 255, 0.85);
}

.auth-lang-bar .dropdown-toggle img {
    display: inline-block;
    width: 16px;
    height: 11px;
    object-fit: cover;
    margin-right: 8px;
}

.auth-lang-bar .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    display: none !important;
    float: none;
    min-width: 180px;
    margin-top: 6px !important;
    background: #fff !important;
    color: #333 !important;
    visibility: visible;
    opacity: 1;
    z-index: 50;
}

.auth-lang-bar .dropdown.show > .dropdown-menu,
.auth-lang-bar .dropdown-menu.show {
    display: block !important;
}

.auth-lang-bar .dropdown-item {
    display: flex;
    align-items: center;
    color: #333 !important;
    background: #fff;
    padding: 8px 14px;
    white-space: nowrap;
}

.auth-lang-bar .dropdown-item:hover,
.auth-lang-bar .dropdown-item.active {
    background: #f4f6fb;
    color: #333 !important;
}

.auth-lang-bar .dropdown-item img {
    display: inline-block !important;
    width: 16px;
    height: 11px;
    object-fit: cover;
    margin-right: 8px;
    opacity: 1 !important;
    visibility: visible !important;
}

.auth-lang-bar .dropdown-item .language {
    color: #333;
}

.auth-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8% 0 9%;
    background:
        radial-gradient(900px 900px at 82% 58%, rgba(61, 107, 255, 0.18), transparent 58%),
        linear-gradient(180deg, #0b146b 0%, #0a0f6e 45%, #07105a 100%);
}

.auth-globe {
    position: absolute;
    right: -8%;
    top: 50%;
    width: 58vw;
    max-width: 920px;
    height: auto;
    transform: translateY(-46%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.auth-hero {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 460px;
    padding: 40px 0;
}

.auth-brand {
    display: flex;
    align-items: center;
    margin-bottom: 56px;
    text-decoration: none;
    color: #fff;
}

.auth-brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffd100;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-right: 14px;
    flex-shrink: 0;
}

.auth-brand-name {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
}

.auth-hero-copy h1 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.35;
    font-weight: 700;
}

.auth-hero-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    max-width: 360px;
}

.auth-panel {
    position: relative;
    z-index: 1;
    flex: 0 0 420px;
    max-width: 420px;
    width: 100%;
    padding: 40px 0;
}

.auth-card {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 10, 40, 0.18);
    padding: 36px 32px 28px;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 28px;
}

.auth-tabs a {
    position: relative;
    color: #9aa3b2;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 10px;
}

.auth-tabs a.active {
    color: #1a1a1a;
}

.auth-tabs a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #ffd100;
    border-radius: 2px;
}

.auth-card .auth-title {
    display: none;
}

.auth-card .form-control {
    height: 44px;
    border-radius: 2px;
    border-color: #e6e8ee;
    background: #fff;
}

.auth-card .btn-primary,
.auth-card .btn-primary:hover,
.auth-card .btn-primary:focus {
    height: 44px;
    border-radius: 22px;
    background: #ffe08a;
    border-color: #ffe08a;
    color: #5c4a00;
    font-weight: 600;
    box-shadow: none;
}

.auth-card a {
    color: #1a73e8;
}

.auth-card .iti {
    width: 100%;
}

@media (max-width: 991.98px) {
    .auth-shell {
        flex-direction: column;
        justify-content: flex-start;
        padding: 48px 20px 32px;
    }

    .auth-globe {
        width: 140vw;
        right: -40%;
        opacity: 0.35;
    }

    .auth-hero {
        max-width: none;
        padding: 0 0 28px;
    }

    .auth-brand {
        margin-bottom: 28px;
    }

    .auth-brand-mark {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .auth-brand-name {
        font-size: 28px;
    }

    .auth-hero-copy h1 {
        font-size: 26px;
    }

    .auth-panel {
        flex: none;
        max-width: 420px;
        width: 100%;
        padding: 0 0 24px;
    }
}
