
    /* ============================================ */
    /* FONDO CIENTÍFICO - ICONOS TEMÁTICOS */
    /* ============================================ */

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body.forgot-page {
      font-family: 'Sora', sans-serif;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      position: relative;
      background: linear-gradient(135deg, #0a0e27 0%, #1a3a8f 50%, #0f172a 100%);
      background-size: 200% 200%;
      animation: gradientBG 10s ease infinite;
      overflow: hidden;
    }

    @keyframes gradientBG {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* Grid de puntos científicos */
    body.forgot-page::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
      background-size: 35px 35px;
      pointer-events: none;
      z-index: 1;
    }

    /* Brillo pulsante */
    body.forgot-page::after {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 50% 50%, rgba(26,86,219,0.12) 0%, transparent 70%);
      pointer-events: none;
      z-index: 1;
      animation: pulse 5s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 0.4; }
      50% { opacity: 0.8; }
    }

    /* Contenedor de iconos científicos */
    .particles-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
      pointer-events: none;
      overflow: hidden;
    }

    /* Iconos científicos flotantes */
    .science-icon {
      position: absolute;
      font-size: 24px;
      opacity: 0;
      animation: floatIcon linear infinite;
      filter: drop-shadow(0 0 5px rgba(26,86,219,0.5));
    }

    @keyframes floatIcon {
      0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 0.7;
      }
      90% {
        opacity: 0.5;
      }
      100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
      }
    }

    /* Icono de ADN */
    .dna-icon {
      position: absolute;
      font-size: 30px;
      opacity: 0;
      animation: floatDNA linear infinite;
      filter: drop-shadow(0 0 8px rgba(124,58,237,0.6));
    }

    @keyframes floatDNA {
      0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
      }
      20% {
        opacity: 0.8;
      }
      80% {
        opacity: 0.6;
      }
      100% {
        transform: translateY(-20vh) translateX(50px) scale(1.2);
        opacity: 0;
      }
    }

    /* ============================================ */
    /* TARJETA DE RECUPERACIÓN (CRISTAL) */
    /* ============================================ */
    .forgot-wrap {
      position: relative;
      z-index: 100;
      width: 100%;
      max-width: 440px;
      animation: slideUp 0.5s ease both;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .forgot-card {
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      border-radius: 24px;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .forgot-card-accent {
      height: 4px;
      background: linear-gradient(90deg, #1a56db, #7c3aed, #06b6d4, #f59e0b, #1a56db);
      background-size: 300% 100%;
      animation: accentMove 4s ease infinite;
    }

    @keyframes accentMove {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .forgot-card-body {
      padding: 32px 28px 28px;
    }

    /* Icono */
    .forgot-icon-wrap {
      text-align: center;
      margin-bottom: 20px;
    }

    .forgot-icon-ring {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: linear-gradient(135deg, #1a56db, #7c3aed);
      box-shadow: 0 8px 20px rgba(26,86,219,0.4);
      font-size: 1.8rem;
      color: #fff;
    }

    .forgot-title {
      font-size: 1.2rem;
      font-weight: 800;
      text-align: center;
      color: #0f172a;
      margin-bottom: 6px;
    }

    .forgot-subtitle {
      text-align: center;
      font-size: 0.75rem;
      color: #64748b;
      margin-bottom: 20px;
    }

    /* Alertas */
    .forgot-alert {
      padding: 12px 16px;
      margin-bottom: 20px;
      border-radius: 12px;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 8px;
      border-left: 4px solid;
    }

    .forgot-alert.alert-danger {
      background: #fef2f2;
      border-color: #ef4444;
      color: #991b1b;
    }

    .forgot-alert.alert-success {
      background: #ecfdf5;
      border-color: #10b981;
      color: #065f46;
    }

    /* Help text */
    .help-text {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 12px 16px;
      font-size: 0.78rem;
      color: #64748b;
      margin-bottom: 20px;
      display: flex;
      gap: 10px;
      align-items: flex-start;
      line-height: 1.5;
    }

    .help-text i {
      color: #1a56db;
      flex-shrink: 0;
      margin-top: 2px;
      font-size: 1rem;
    }

    /* Campos de formulario */
    .field-group {
      margin-bottom: 20px;
    }

    .field-label {
      display: block;
      font-size: 0.7rem;
      font-weight: 700;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .field-wrap {
      display: flex;
      align-items: center;
      border: 1.5px solid #e2e8f0;
      border-radius: 12px;
      background: #f8fafc;
      transition: all 0.2s;
    }

    .field-wrap:focus-within {
      border-color: #1a56db;
      background: white;
      box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
    }

    .field-wrap.error {
      border-color: #ef4444;
      background: #fef2f2;
    }

    .field-icon {
      width: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #94a3b8;
      font-size: 1rem;
    }

    .field-input {
      flex: 1;
      border: none;
      background: transparent;
      outline: none;
      font-size: 0.9rem;
      color: #0f172a;
      height: 46px;
      padding-right: 12px;
    }

    .field-input::placeholder {
      color: #94a3b8;
      font-size: 0.85rem;
    }

    .field-error {
      font-size: 0.7rem;
      color: #ef4444;
      margin-top: 6px;
      display: none;
    }

    .field-error.show {
      display: block;
    }

    /* Botón */
    .btn-submit {
      width: 100%;
      height: 48px;
      background: linear-gradient(135deg, #1a56db, #7c3aed);
      border: none;
      border-radius: 12px;
      color: white;
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 4px 12px rgba(26,86,219,0.3);
      margin-top: 8px;
    }

    .btn-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(26,86,219,0.4);
    }

    .btn-submit:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    /* Link */
    .forgot-link {
      text-align: center;
      margin-top: 20px;
    }

    .forgot-link a {
      color: #1a56db;
      font-size: 0.8rem;
      font-weight: 600;
      text-decoration: none;
    }

    .forgot-link a:hover {
      text-decoration: underline;
    }

    /* Footer */
    .forgot-card-footer {
      background: #f8fafc;
      border-top: 1px solid #e2e8f0;
      padding: 14px 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .sys-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #eff6ff;
      color: #1a56db;
      border-radius: 20px;
      padding: 4px 12px;
      font-size: 0.65rem;
      font-weight: 700;
    }

    /* Loading */
    #loading {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(4px);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 16px;
    }

    #loading .spin-ring {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 3px solid rgba(255,255,255,0.2);
      border-top-color: white;
      animation: spin 0.7s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Responsive */
    @media (max-width: 480px) {
      body.forgot-page {
        padding: 16px;
      }
      .forgot-card-body {
        padding: 24px 20px;
      }
      .forgot-icon-ring {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
      }
      .forgot-title {
        font-size: 1.1rem;
      }
      .field-input {
        font-size: 16px;
      }
      .science-icon, .dna-icon {
        font-size: 18px !important;
      }
    }

    @media (max-width: 360px) {
      .forgot-card-body {
        padding: 20px 16px;
      }
      .help-text {
        font-size: 0.7rem;
        padding: 10px 12px;
      }
      .btn-submit {
        height: 44px;
        font-size: 0.85rem;
      }
    }
 