/* ============================================================
   auth.css — Login & Register Page Styles (Theme 5: Elegance)
   ============================================================ */

/* ========== Auth Card Layout ========== */
.auth-wrapper { display: flex; justify-content: center; padding: 50px 20px 60px; }
.auth-card { background: #fff; padding: 40px; border-radius: 16px; border: 1px solid #eae8f0; box-shadow: 0 8px 32px rgba(109,92,174,0.06); width: 100%; }
.auth-card-sm { max-width: 450px; }
.auth-card-md { max-width: 520px; }
.auth-card h2 { text-align: center; margin: 0 0 8px; color: #2d2b3d; font-size: 22px; font-weight: 800; }
.auth-subtitle { text-align: center; color: #7a7890; font-size: 14px; margin: 0 0 28px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 13px; color: #7a7890; }
.auth-footer a { color: #6d5cae; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ========== Google Sign-In ========== */
.google-btn-wrapper { display: flex; justify-content: center; margin-bottom: 10px; }

/* ========== Login Divider ========== */
.login-divider { text-align: center; margin: 24px 0; position: relative; }
.login-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #eae8f0; }
.login-divider span { background: #fff; padding: 0 16px; position: relative; font-size: 13px; color: #a09fae; }

/* ========== Admin Login Toggle ========== */
.admin-login-toggle { text-align: center; margin-bottom: 10px; }
.btn-link { background: none; border: none; color: #a09fae; cursor: pointer; font-size: 13px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; transition: all 0.15s; }
.btn-link:hover { color: #6d5cae; background: #f0edf8; }
.btn-link svg { flex-shrink: 0; }

/* ========== Form Controls ========== */
.auth-form-group { margin-bottom: 18px; }
.auth-form-group label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #2d2b3d; }
.auth-form-control { width: 100%; padding: 12px 14px; border: 1.5px solid #eae8f0; border-radius: 10px; font-size: 14px; outline: none; transition: all 0.2s; font-family: inherit; background: #fff; color: #2d2b3d; }
.auth-form-control:focus { border-color: #6d5cae; box-shadow: 0 0 0 3px rgba(109,92,174,0.08); }
.auth-form-control::placeholder { color: #a09fae; }
.auth-form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.auth-form-check label { font-weight: 400; margin: 0; font-size: 13px; color: #7a7890; }
.auth-btn { width: 100%; padding: 14px; background: #6d5cae; color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: inherit; box-shadow: 0 2px 8px rgba(109,92,174,0.25); }
.auth-btn:hover { background: #5a4a96; box-shadow: 0 4px 16px rgba(109,92,174,0.35); transform: translateY(-1px); }
.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ========== Error / Validation ========== */
.auth-error { background: #faeded; color: #c75a5a; padding: 12px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; border: 1px solid #f5d5d5; }

/* ========== Google Verified Badge ========== */
.google-verified { display: flex; align-items: center; gap: 12px; background: #edf7f1; border: 1px solid #c6f0d6; border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; }
.google-verified-icon { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #c6f0d6; display: flex; align-items: center; justify-content: center; color: #4285f4; flex-shrink: 0; }
.google-verified-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.google-verified-name { font-weight: 600; color: #2d2b3d; font-size: 14px; }
.google-verified-email { font-size: 13px; color: #7a7890; overflow: hidden; text-overflow: ellipsis; }
.google-verified-change { background: none; border: none; color: #a09fae; cursor: pointer; padding: 4px; font-size: 13px; flex-shrink: 0; }
.google-verified-change:hover { color: #6d5cae; }

/* ========== Phone Input ========== */
.phone-input { display: flex; align-items: center; }
.phone-prefix { background: #faf9fc; border: 1.5px solid #eae8f0; border-right: none; border-radius: 10px 0 0 10px; padding: 0 12px; font-size: 13px; color: #7a7890; font-weight: 500; height: 46px; display: flex; align-items: center; }
.phone-input .auth-form-control { border-radius: 0 10px 10px 0; }

/* ========== Value Strip ========== */
.value-strip { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; background: #f0edf8; border-radius: 10px; padding: 10px 12px; margin-bottom: 22px; font-size: 12px; color: #4a3d7a; font-weight: 600; }
.value-strip span { white-space: nowrap; }

/* ========== Plan Cards ========== */
.auth-plans { border: none; padding: 0; margin: 0 0 18px; }
.auth-plans legend { display: block; font-size: 13px; font-weight: 600; color: #2d2b3d; margin-bottom: 6px; padding: 0; }
.plan-card { display: block; border: 1.5px solid #eae8f0; border-radius: 12px; padding: 16px; cursor: pointer; transition: all 0.2s; margin-bottom: 8px; position: relative; }
.plan-card:hover { border-color: #6d5cae; background: #faf9fc; }
.plan-card.selected { border-color: #6d5cae; background: #f0edf8; box-shadow: 0 0 0 3px rgba(109,92,174,0.08); }
.plan-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.plan-header { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-weight: 700; font-size: 15px; color: #2d2b3d; }
.plan-price { font-weight: 800; font-size: 15px; color: #6d5cae; }
.plan-credits { font-size: 12px; color: #a09fae; margin-top: 2px; }
.popular-badge { position: absolute; top: -10px; right: 12px; background: linear-gradient(135deg, #6d5cae, #9b8dd4); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ========== Fee Breakdown ========== */
.fee-breakdown { background: #faf9fc; border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; font-size: 13px; }
.fee-breakdown-row { display: flex; justify-content: space-between; margin-bottom: 4px; color: #7a7890; }
.fee-breakdown-row.muted { color: #a09fae; }
.fee-breakdown-total { display: flex; justify-content: space-between; font-weight: 700; color: #2d2b3d; border-top: 1px solid #e4dff2; padding-top: 6px; margin-top: 4px; }

/* ========== Trial Note ========== */
.trial-note { text-align: center; font-size: 13px; color: #a09fae; margin-top: 16px; }

/* ========== Responsive ========== */
@media (max-width: 480px) {
    .auth-card { padding: 24px 20px; }
    .auth-card h2 { font-size: 1.2rem; }
}
