body {
    min-height: 100vh;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    padding: 28px;
}

.auth-panel {
    min-width: 0;
}

.auth-panel-brand {
    padding: clamp(28px, 4vw, 42px);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(79, 195, 247, 0.26), transparent 34%),
        linear-gradient(135deg, #0a1434 0%, #12306b 48%, #1f6fff 100%);
    color: #fff;
    box-shadow: 0 30px 72px rgba(10, 20, 52, 0.24);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.auth-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0;
}

.auth-brand-lockup-copy {
    min-width: 0;
}

.auth-mark {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

.auth-mark img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.auth-brand-name {
    display: block;
    color: #fff;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.auth-brand-context,
.auth-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-brand-context {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
}

.auth-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(31, 111, 255, 0.1);
    color: var(--blue-800);
}

.auth-panel-brand h1 {
    margin-top: 14px;
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.02;
}

.auth-lead {
    margin-top: 28px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.auth-feature-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.auth-feature {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.auth-feature span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-feature strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
}

.auth-panel-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: min(100%, 480px);
    padding: clamp(28px, 3vw, 38px);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 32, 56, 0.08);
    box-shadow: 0 24px 52px rgba(16, 32, 56, 0.12);
    backdrop-filter: blur(18px);
}

.auth-card-head h2 {
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 34px;
}

.auth-card-head p {
    color: var(--grey-700);
    font-size: 15px;
}

.auth-form {
    margin-top: 22px;
}

.auth-message {
    margin-top: 18px;
    margin-bottom: 0;
}

.auth-message p + p {
    margin-top: 8px;
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap input {
    padding-right: 94px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(31, 111, 255, 0.08);
    color: var(--blue-800);
    box-shadow: none;
}

.auth-password-toggle:hover {
    color: var(--blue-800);
    background: rgba(31, 111, 255, 0.12);
}

.auth-submit {
    width: 100%;
    margin-top: 8px;
}

.auth-submit.is-loading {
    opacity: 0.8;
    pointer-events: none;
}

.auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(16, 32, 56, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.auth-footer p {
    color: var(--grey-700);
    font-size: 14px;
}

.auth-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(16, 32, 56, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: var(--grey-900);
    font-weight: 700;
}

.auth-admin-link:hover {
    color: var(--grey-900);
    background: #fff;
}

@media (max-width: 1100px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-feature-grid {
        grid-template-columns: 1fr;
    }

    .auth-panel-form {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 14px;
        gap: 16px;
    }

    .auth-panel-brand,
    .auth-card {
        border-radius: 24px;
    }

    .auth-footer {
        flex-direction: column;
        align-items: stretch;
    }
}
