/* ── YesMadam Login Card ─────────────────────────────── */

body.login {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.login::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 0;
}

body.login #site-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Card */
.lg-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.lg-card {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.3);
  overflow: hidden;
}

/* ── Top logo strip (white) ──────────────────────────── */
.lg-header {
  padding: 22px 32px 0;
  text-align: center;
}

.lg-logo-wrap img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.lg-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b0bac8;
  margin-top: 4px;
}

/* ── Body ─────────────────────────────────────────────── */
.lg-body {
  padding: 16px 28px 22px;
}

/* Error */
.lg-error {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #fff0f3;
  border: 1px solid #fbc8d4;
  color: #c0183d;
  font-size: 12.5px;
  font-weight: 600;
}

/* Stepper */
.lg-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
}

.lg-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}

.lg-step-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  flex-shrink: 0;
}

.lg-step.active  { color: var(--adm-green); }
.lg-step.active .lg-step-dot  { background: var(--adm-green); color: #fff; }
.lg-step.pending { color: #aeb9c8; }
.lg-step.pending .lg-step-dot { background: transparent; color: #aeb9c8; border: 1.5px solid #d0d8e4; }
.lg-step.done    { color: var(--adm-green); }
.lg-step.done   .lg-step-dot  { background: var(--adm-green); color: #fff; }

.lg-step-line {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #d0d8e4;
}
.lg-step-line.done { background: var(--adm-green); }

.lg-subheading {
  margin: 0 0 16px;
  text-align: center;
  font-size: 12.5px;
  color: #8693a6;
}

/* Label */
.lg-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4a5a72;
  margin-bottom: 6px;
}

/* Input */
.lg-input-wrap {
  position: relative;
  margin-bottom: 12px;
}

.lg-input-wrap .lg-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #b8c4d4;
  display: grid;
  place-items: center;
  pointer-events: none;
  font-size: 14px;
  line-height: 1;
}

.lg-otp-banner i { flex-shrink: 0; font-size: 13px; }
.lg-cta i { font-size: 13px; }

.lg-card .lg-input {
  width: 100%;
  height: 38px;
  padding: 0 13px 0 40px;
  font-size: 14.5px;
  font-family: inherit;
  color: #2c3a50 !important;
  background: #f2f5f9;
  border: 1.5px solid #e8edf3;
  border-radius: 11px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  box-shadow: none;
}

.lg-card .lg-input:focus {
  border-color: var(--adm-green);
  box-shadow: 0 0 0 3px rgba(27,169,122,.1);
  background: #fff;
}

.lg-card .lg-input:disabled {
  color: #6b7a90 !important;
  cursor: default;
}

/* OTP sent banner */
.lg-otp-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #edf9f4;
  border: 1px solid #c0e8d5;
  margin-bottom: 14px;
  font-size: 10.5px;
  color: #13734f;
  line-height: 1.4;
}

.lg-otp-banner svg { flex-shrink: 0; }

/* OTP row header */
.lg-otp-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* OTP inputs */
.lg-otp-inputs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.lg-otp-input {
  width: 100%;
  height: 44px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #2c3a50;
  background: #f2f5f9;
  border: 1.5px solid #e8edf3;
  border-radius: 11px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.lg-otp-input:focus {
  border-color: var(--adm-green);
  box-shadow: 0 0 0 3px rgba(27,169,122,.1);
  background: #fff;
}

/* CTA button */
.lg-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2ecf95, #1aac78);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(27,169,122,.2);
  position: relative;
  overflow: hidden;
  transition: opacity .15s, transform .1s;
}

.lg-cta:hover  { opacity: .92; }
.lg-cta:active { transform: scale(.985); }

.lg-cta-shine {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  animation: lgShine 3.6s ease-in-out infinite;
}

@keyframes lgShine {
  0%   { transform: translateX(-100%); }
  40%  { transform: translateX(250%); }
  100% { transform: translateX(250%); }
}

/* Links row */
.lg-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 13px;
}

.lg-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #4a5a72;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.lg-link:hover { color: var(--adm-green); }
.lg-link-sep { color: #d8dfe8; font-size: 13px; }

/* ── Footer band ─────────────────────────────────────── */
.lg-footer {
  padding: 10px 28px;
  border-top: 1px solid #f0f3f7;
  background: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lg-footer-secure {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #aeb9c8;
  font-weight: 600;
}

.lg-footer-version {
  font-size: 11px;
  color: #c8d0db;
  font-weight: 600;
}
