/* ============================================================
   Member Panel — small additions on top of admin.css / style.css
   ============================================================ */

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.captcha-row img {
  border-radius: 8px;
  display: block;
  height: 46px;
  width: 150px;
  background: #f4f7f4;
}
.captcha-refresh {
  border: 1px solid var(--hairline-dark, #C5CEDD);
  background: var(--white, #fff);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate, #5A6F87);
  flex-shrink: 0;
  transition: background .15s, transform .3s;
}
.captcha-refresh:hover { background: var(--mist, #F5F7FB); }
.captcha-refresh:active svg { transform: rotate(180deg); }
.captcha-refresh svg { transition: transform .3s; }

.field-hint { font-size: 12px; color: var(--slate, #5A6F87); margin-top: 4px; display: block; }

.login-mode-toggle {
  display: flex;
  gap: 6px;
  background: var(--mist, #F5F7FB);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
}
.login-mode-toggle a {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate, #5A6F87);
  text-decoration: none;
}
.login-mode-toggle a.active { background: var(--white, #fff); color: var(--green, #0E7B52); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* member ID card preview on the dashboard */
.member-id-card {
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(135deg, #0A3E28 0%, #105E3C 55%, #0A3E28 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
}
.member-id-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(201,146,46,.35), transparent 55%);
}
.member-id-card .photo {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  flex-shrink: 0; position: relative; z-index: 1;
  overflow: hidden;
}
.member-id-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.member-id-card .meta { position: relative; z-index: 1; }
.member-id-card .meta .name { font-size: 17px; font-weight: 700; margin: 0 0 2px; }
.member-id-card .meta .no { font-family: monospace; letter-spacing: .04em; color: #E9D9AE; font-size: 13px; }
.member-id-card .meta .district { font-size: 12.5px; color: #C9E4D4; margin-top: 4px; }

.status-chip { display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:20px; font-size:11.5px; font-weight:700; }
.status-chip.active { background: var(--green-light, #E5F5EE); color: var(--green-deep, #075E3E); }
.status-chip.inactive, .status-chip.suspended { background: #FDE8E8; color: #B42318; }
