/* ============================================================
   AWQATY Login Pages — supplementary styles
   Uses onboarding.css as base; adds login-only patterns
   ============================================================ */

/* ── Card max-width matches Login Pack (440 vs 460) ── */
.card { max-width: 440px; }

/* ── Card footer — Login Pack values ── */
.card-footer { margin-top: 22px; font-size: 13.5px; }
.card-footer a { font-weight: 700; }

/* ── Field row: label + link on the same line ── */
.field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.field-row .field-label { margin-bottom: 0; }
.input-icon-wrap .icon{
    top: 14px;
    transform: none;
}
/* ── Forgot / field link ── */
.field-link { font-size: 12px; color: var(--blue); font-weight: 600; cursor: pointer; }
.field-link:hover { color: var(--blue-dark); }

/* ── Remember-me row ── */
.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 18px;
  font-size: 13px;
  color: var(--text);
}

/* ── Back link (forgot-password / change-password screens) ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.15s;
  text-decoration: none;
}
.back-link:hover { color: var(--blue); }
body[dir="rtl"] .back-link svg { transform: scaleX(-1); }

/* ── Server-side alert (PHP validation errors) ── */
.alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── Password strength meter (change-password screen) ── */
.pw-strength { margin-top: 8px; }
.pw-strength-bar { display: flex; gap: 4px; margin-bottom: 6px; }
.pw-strength-cell {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  transition: background 0.2s;
}
.pw-strength-cell.weak   { background: var(--red); }
.pw-strength-cell.medium { background: #F59E0B; }
.pw-strength-cell.strong { background: var(--green); }
.pw-strength-label { font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* ── Info icon — reuses otp-icon from onboarding.css ── */
/* (no overrides needed — .otp-icon already matches) */

/* ── Resend / footer row below check-email ── */
/* .resend-row already in onboarding.css */
