/* NYSA Volunteer Login — Public Styles */

/* ── Wrapper ───────────────────────────────────────────────────────────────── */
.nysa-vl-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 16px 60px;
  min-height: 60vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Card ──────────────────────────────────────────────────────────────────── */
.nysa-vl-box {
  background: #fff;
  border: 1px solid #dde3ed;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 90, 156, .10);
  padding: 40px 36px 32px;
  width: 100%;
  max-width: 420px;
}

/* ── Logo / header ─────────────────────────────────────────────────────────── */
.nysa-vl-logo {
  text-align: center;
  margin-bottom: 28px;
}
.nysa-vl-logo-text {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #005a9c;
  letter-spacing: -.01em;
}
.nysa-vl-logo-sub {
  display: block;
  font-size: .9rem;
  color: #6b7280;
  margin-top: 2px;
}

/* ── Intro text ────────────────────────────────────────────────────────────── */
.nysa-vl-intro {
  font-size: .88rem;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* ── Alerts ────────────────────────────────────────────────────────────────── */
.nysa-vl-alert {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: .88rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.nysa-vl-alert--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.nysa-vl-alert--success { background: #d4edda; color: #1a7a3c; border: 1px solid #86efac; }

/* ── Fields ────────────────────────────────────────────────────────────────── */
.nysa-vl-field {
  margin-bottom: 16px;
}
.nysa-vl-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .88rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 5px;
}
.nysa-vl-field input[type="text"],
.nysa-vl-field input[type="email"],
.nysa-vl-field input[type="password"] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: .95rem;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.nysa-vl-field input:focus {
  outline: none;
  border-color: #005a9c;
  box-shadow: 0 0 0 3px rgba(0, 90, 156, .12);
}

.nysa-vl-hint {
  font-size: .78rem;
  color: #6b7280;
  margin-top: 3px;
  display: block;
}

/* ── Two-column row ────────────────────────────────────────────────────────── */
.nysa-vl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── Password show/hide ────────────────────────────────────────────────────── */
.nysa-vl-password-wrap {
  position: relative;
}
.nysa-vl-password-wrap input {
  padding-right: 40px;
}
.nysa-vl-toggle-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #6b7280;
}
.nysa-vl-toggle-pass:hover { color: #005a9c; }

/* ── Remember me ───────────────────────────────────────────────────────────── */
.nysa-vl-remember label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: .88rem;
  color: #374151;
}

/* ── Forgot password link ──────────────────────────────────────────────────── */
.nysa-vl-forgot-link {
  font-size: .8rem;
  font-weight: 400;
  color: #005a9c;
  text-decoration: none;
}
.nysa-vl-forgot-link:hover { text-decoration: underline; }

/* ── Submit button ─────────────────────────────────────────────────────────── */
.nysa-vl-btn {
  width: 100%;
  padding: 10px;
  background: #005a9c;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background .15s;
}
.nysa-vl-btn:hover    { background: #004880; }
.nysa-vl-btn:disabled { background: #93c5fd; cursor: default; }

/* ── Footer links ──────────────────────────────────────────────────────────── */
.nysa-vl-footer-links {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  font-size: .85rem;
  color: #6b7280;
  text-align: center;
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.nysa-vl-footer-links a {
  color: #005a9c;
  text-decoration: none;
}
.nysa-vl-footer-links a:hover { text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media ( max-width: 480px ) {
  .nysa-vl-box { padding: 28px 20px 24px; }
  .nysa-vl-row { grid-template-columns: 1fr; gap: 0; }
}
