/* ── REGISTRO ── */
 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue-primary: #2563EB;
      --blue-light: #DBEAFE;
      --blue-mid: #3B82F6;
      --bg: #E8F3FC;
      --white: #FFFFFF;
      --text-dark: #1E293B;
      --text-muted: #64748B;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background: var(--bg);
      color: var(--text-dark);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    nav {
      background: var(--white);
      display: flex;
      align-items: center;
      padding: 0 2.5rem;
      height: 64px;
      box-shadow: 0 2px 12px rgba(37,99,235,0.08);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      text-decoration: none;
      margin-right: auto;
    }

    .logo-icon {
      width: 38px; height: 38px;
      background: var(--blue-primary);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .logo-icon svg { width: 22px; height: 22px; fill: white; }

    .logo-text {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--blue-primary);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.25rem;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-muted);
      padding: 0.45rem 1rem;
      border-radius: 999px;
      transition: color 0.2s, background 0.2s;
    }

    .nav-links a:hover { color: var(--blue-primary); background: var(--blue-light); }

    .nav-links .active a {
      background: var(--blue-light);
      color: var(--blue-primary);
      font-weight: 600;
    }

    .page {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 3rem 1.5rem;
    }

    footer {
      background: var(--white);
      text-align: center;
      padding: 1.25rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      border-top: 1px solid #E2E8F0;
    }
.registro-container {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(59, 130, 246, 0.06),
    0 20px 60px rgba(59, 130, 246, 0.10);
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-banner {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  padding: 2rem 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
}

.card-banner::before,
.card-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.card-banner::before {
  width: 180px; height: 180px;
  right: -50px; top: -60px;
}

.card-banner::after {
  width: 100px; height: 100px;
  right: 60px; bottom: -40px;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.banner-badge .dot {
  width: 7px; height: 7px;
  background: #86efac;
  border-radius: 50%;
}

.card-banner h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: white;
  position: relative;
}

.card-banner p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.4rem;
  position: relative;
}

/* ── BODY ── */
.card-body {
  padding: 2rem 2.2rem 2.2rem;
}

.field {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.input-wrap {
  position: relative;
}

.input-wrap .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #60a5fa;
  display: flex;
  align-items: center;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #111827;
  background: #f9fafb;
  border: 1.5px solid #dbeafe;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input::placeholder {
  color: #9ca3af;
}

input:focus {
  border-color: #60a5fa;
  background: white;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

/* ── SECCIÓN DISCAPACIDAD ── */
.discapacidad-section {
  background: #eff6ff;
  border: 1.5px solid #dbeafe;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
}

.discapacidad-section .section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1d4ed8;
  margin-bottom: 0.3rem;
}

.discapacidad-section .section-desc {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.opciones-discapacidad {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.opcion-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border: 1.5px solid #dbeafe;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 0.88rem;
  color: #374151;
  font-weight: 500;
}

.opcion-label:hover {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}

.opcion-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
}

.opcion-label input[type="radio"]:focus {
  box-shadow: none;
  border: none;
}

.opcion-icon {
  font-size: 1.2rem;
}

.opcion-texto strong {
  display: block;
  font-size: 0.85rem;
  color: #1e3a8a;
}

.opcion-texto span {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ── BOTÓN ── */
.btn-registro {
  display: block;
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-registro:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42);
}

.btn-registro:active {
  transform: translateY(0);
}

/* ── ERRORES ── */
.error-msg {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  font-size: 0.82rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.errorlist {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0 0;
}

.errorlist li {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.2rem;
}

/* ── DIVIDER ── */
.divider {
  text-align: center;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 1.4rem;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: #dbeafe;
}

.divider::before { left: 0; }
.divider::after  { right: 0; }

.login-link {
  display: block;
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.84rem;
  color: #6b7280;
}

.login-link a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.75rem;
  color: #9ca3af;
}