
.auth-page {
    min-height: calc(100vh - 64px);
    padding: 70px 20px;
    background:
            radial-gradient(circle at top left, #eef2ff 0, transparent 32%),
            radial-gradient(circle at bottom right, #ecfeff 0, transparent 30%),
            #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    font-weight: 800;
    color: #020617;
    margin-bottom: 26px;
}

.auth-card h1 {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #020617;
}

.auth-card > p {
    margin: 0 0 28px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.65;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #020617;
}

.form-group input {
    width: 100%;
    height: 52px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    color: #020617;
    outline: none;
    transition: 0.2s;
}

.form-group input:focus {
    border-color: #020617;
    box-shadow: 0 0 0 4px rgba(2, 6, 23, 0.08);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 4px 0 24px;
    font-size: 14px;
    color: #64748b;
}

.form-row label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row a {
    color: #020617;
    font-weight: 700;
}

.terms {
    justify-content: flex-start;
}

.auth-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: #020617;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.2);
}

.auth-switch {
    text-align: center;
    margin: 24px 0 0 !important;
    color: #64748b;
}

.auth-switch a {
    color: #020617;
    font-weight: 800;
}

@media (max-width: 600px) {
    .auth-card {
        padding: 28px;
        border-radius: 20px;
    }

    .auth-card h1 {
        font-size: 30px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Validation Summary Styling */
.validation-summary-errors {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.validation-summary-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-summary-errors li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.validation-summary-errors li::before {
    content: "⚠️";
}

.validation-summary-valid {
    display: none;
}
