.auth-page {
    min-height: 100vh;

    padding: 140px 20px 80px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: min(520px, 100%);

    padding: 38px;

    border-radius: 36px;

    background: rgba(255,255,255,.78);

    border: 1px solid rgba(255,255,255,.9);

    backdrop-filter: blur(24px);

    box-shadow:
        0 30px 80px rgba(15,23,42,.08);
}

.auth-top {
    margin-bottom: 30px;
}

.auth-badge {
    display: inline-flex;

    padding: 9px 14px;

    border-radius: 999px;

    background: rgba(99,102,241,.1);

    color: var(--primary);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;

    margin-bottom: 18px;
}

.auth-top h1 {
    font-size: clamp(44px, 6vw, 66px);

    line-height: .92;
    letter-spacing: -3px;

    margin-bottom: 16px;
}

.auth-top p {
    color: var(--muted);
    line-height: 1.7;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 800;
    color: #334155;
}

.form-group input {
    width: 100%;
    height: 60px;

    padding: 0 20px;

    border-radius: 22px;

    border: 1px solid rgba(15,23,42,.08);

    background: rgba(255,255,255,.82);

    outline: none;

    font-weight: 700;

    transition: .25s ease;
}

.form-group input:focus {
    border-color: rgba(99,102,241,.45);

    background: white;

    box-shadow:
        0 0 0 5px rgba(99,102,241,.08);
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 2px;

    font-size: 14px;
}

.remember-row label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #475569;

    cursor: pointer;
}

.auth-btn {
    width: 100%;
    height: 60px;

    margin-top: 8px;

    border: 0;
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #6366f1,
            #8b5cf6
        );

    color: white;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    transition: .25s ease;

    box-shadow:
        0 20px 50px rgba(99,102,241,.24);
}

.auth-btn:hover {
    transform: translateY(-3px);
}

.auth-error {
    padding: 14px 16px;

    border-radius: 18px;

    background: rgba(239,68,68,.08);

    border: 1px solid rgba(239,68,68,.12);

    color: #dc2626;

    font-size: 14px;
    line-height: 1.6;
}

.auth-bottom {
    margin-top: 26px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex-wrap: wrap;

    font-size: 14px;
}

.auth-bottom span {
    color: #64748b;
}

.auth-bottom a {
    color: var(--primary);

    font-weight: 800;

    text-decoration: none;
}

@media (max-width: 768px) {

    .auth-page {
        padding: 120px 16px 60px;
    }

    .auth-card {
        padding: 28px;
        border-radius: 28px;
    }

    .auth-top h1 {
        font-size: 46px;
    }

}