.auth-page {
    min-height: 100vh;
    margin: 0;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    color: #e2e8f0;
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(14, 165, 233, 0.22), transparent 55%),
        radial-gradient(900px 500px at 100% 100%, rgba(2, 132, 199, 0.18), transparent 50%),
        linear-gradient(160deg, #020617 0%, #0f172a 48%, #020617 100%);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.auth-aside {
    position: relative;
    padding: 3rem;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    overflow: hidden;
}

.auth-aside::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.08), transparent 40%),
        repeating-linear-gradient(
            -18deg,
            transparent,
            transparent 22px,
            rgba(148, 163, 184, 0.04) 22px,
            rgba(148, 163, 184, 0.04) 23px
        );
    pointer-events: none;
}

.auth-aside-inner {
    position: relative;
    z-index: 1;
    max-width: 440px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-family: Outfit, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.auth-brand img {
    height: 48px;
    width: auto;
}

.auth-aside h1 {
    font-family: Outfit, sans-serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    line-height: 1.25;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.auth-aside > .auth-aside-inner > p,
.auth-aside-inner > p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.auth-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.auth-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.auth-points i {
    color: #38bdf8;
    font-size: 1.1rem;
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
    animation: authIn 0.45s ease both;
}

@keyframes authIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #38bdf8;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-card-head h2 {
    font-family: Outfit, sans-serif;
    font-weight: 650;
    font-size: 1.65rem;
    color: #f8fafc;
    margin-bottom: 0.35rem;
}

.auth-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.auth-field {
    margin-bottom: 1rem;
}

.auth-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
}

.auth-input {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input > i:first-child {
    position: absolute;
    left: 0.9rem;
    color: #64748b;
    pointer-events: none;
}

.auth-input input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.55);
    color: #f1f5f9;
    border-radius: 12px;
    padding: 0.8rem 2.6rem 0.8rem 2.5rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.auth-toggle-pass {
    position: absolute;
    right: 0.45rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-toggle-pass:hover {
    color: #e2e8f0;
    background: rgba(148, 163, 184, 0.12);
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.25rem 0 1rem;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #94a3b8;
    font-size: 0.88rem;
    cursor: pointer;
    user-select: none;
}

.auth-check input {
    accent-color: #0ea5e9;
}

.auth-submit {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
}

.auth-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.35);
}

.auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-footer {
    margin-top: 1.4rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.92rem;
}

.auth-footer a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    color: #64748b !important;
    font-weight: 500 !important;
    font-size: 0.85rem;
}

.auth-alert {
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.auth-alert-ok {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #a7f3d0;
}

.auth-meter {
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    margin-top: 0.5rem;
    overflow: hidden;
}

.auth-meter span {
    display: block;
    height: 100%;
    width: 0%;
    background: #ef4444;
    transition: width 0.2s ease, background 0.2s ease;
}

.auth-hint {
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

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

    .auth-aside {
        padding: 1.5rem 1.25rem 0.5rem;
        border-right: 0;
        min-height: auto;
    }

    .auth-aside h1 {
        font-size: 1.45rem;
        margin-bottom: 0.5rem;
    }

    .auth-aside-inner > p,
    .auth-points {
        display: none;
    }

    .auth-brand {
        margin-bottom: 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }
}
