.auth-page {
    padding: 50px 0 70px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.auth-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    max-width: 460px;
    margin: 0 auto;
    padding: 40px 36px;
}
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--primary);
}
.auth-header h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.auth-header p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Form */
.auth-form { margin-bottom: 0; }
.auth-field {
    margin-bottom: 18px;
}
.auth-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}
.auth-input-wrap {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border-radius: 12px;
    border: 1.5px solid transparent;
    padding: 0 16px;
    transition: all 0.25s;
}
.auth-input-wrap:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229,57,53,0.08);
}
.auth-input-wrap i {
    color: #bbb;
    font-size: 1rem;
    margin-right: 12px;
    transition: color 0.2s;
}
.auth-input-wrap:focus-within i {
    color: var(--primary);
}
.auth-input-wrap input {
    border: none;
    background: transparent;
    padding: 13px 0;
    font-size: 0.88rem;
    width: 100%;
    outline: none;
    color: var(--dark);
    font-weight: 500;
}
.auth-input-wrap input::placeholder {
    color: #bbb;
    font-weight: 400;
}

/* Error State */
.auth-field.has-error .auth-input-wrap {
    border-color: #e53935;
    background: #fff5f5;
}
.auth-field.has-error .auth-input-wrap i {
    color: #e53935;
}
.auth-error {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 0.72rem;
    color: #e53935;
    font-weight: 500;
}
.auth-error i {
    font-size: 0.8rem;
}

/* Options */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.auth-remember {
    font-size: 0.78rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.auth-remember input { accent-color: var(--primary); }

/* Button */
.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #c62828 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 16px;
}
.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229,57,53,0.3);
}
.auth-btn-outline {
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.auth-btn-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

/* Switch link */
.auth-switch {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}
.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.auth-switch a:hover { text-decoration: underline; }

/* Terms */
.auth-terms {
    text-align: center;
    font-size: 0.7rem;
    color: #bbb;
    margin: 0 0 10px;
}
.auth-terms a { color: var(--primary); text-decoration: none; }

/* Alert */
.auth-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.auth-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* Verify Steps */
.verify-info {
    margin: 24px 0;
}
.verify-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.verify-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.verify-step strong {
    display: block;
    font-size: 0.82rem;
    color: var(--dark);
    margin-bottom: 2px;
}
.verify-step p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
}
.auth-resend-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 0.85rem;
    outline: none;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}
.auth-resend-input:focus {
    border-color: var(--primary);
}

@media (max-width: 575px) {
    .auth-card { padding: 28px 20px; margin: 0 10px; }
    .auth-header h1 { font-size: 1.2rem; }
}
