@charset "ISO-8859-1";
 /* ----- RESET & BASE ----- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    }

    body {
      background: linear-gradient(145deg, #f9f3ff 0%, #f0f7ff 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .forgot-container {
      width: 100%;
      max-width: 440px;
      animation: fadeInUp 0.5s ease;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .forgot-card {
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 48px;
      padding: 48px 36px 40px;
      box-shadow: 0 30px 80px rgba(0, 20, 40, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.5);
      transition: 0.3s;
    }

    .forgot-card:hover {
      box-shadow: 0 40px 100px rgba(244, 59, 107, 0.06);
    }

    .forgot-header {
      text-align: center;
      margin-bottom: 32px;
    }

    .forgot-header .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 2rem;
      font-weight: 800;
      background: linear-gradient(135deg, #f43b6b, #ff6b8a);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-decoration: none;
      margin-bottom: 8px;
    }

    .forgot-header .logo i {
      background: linear-gradient(145deg, #f43b6b, #ff9a56);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-size: 2.2rem;
    }

    .forgot-header h1 {
      font-size: 1.8rem;
      font-weight: 800;
      color: #072033;
      margin-top: 4px;
    }

    .forgot-header p {
      color: #4a6a84;
      font-size: 0.95rem;
      margin-top: 4px;
      line-height: 1.6;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      font-weight: 600;
      font-size: 0.85rem;
      color: #1f405a;
      margin-bottom: 6px;
    }

    .form-group .input-wrapper {
      position: relative;
    }

    .form-group .input-wrapper i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #9ab0c8;
      font-size: 1.1rem;
      transition: 0.2s;
    }

    .form-group .input-wrapper input {
      width: 100%;
      padding: 14px 16px 14px 48px;
      border: 2px solid #e2ebf5;
      border-radius: 20px;
      font-size: 1rem;
      transition: 0.25s;
      background: rgba(255, 255, 255, 0.6);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      outline: none;
      color: #0a1e2f;
    }

    .form-group .input-wrapper input:focus {
      border-color: #f43b6b;
      background: white;
      box-shadow: 0 0 0 4px rgba(244, 59, 107, 0.06);
    }

    .form-group .input-wrapper input:focus + i,
    .form-group .input-wrapper input:focus ~ i {
      color: #f43b6b;
    }

    .form-group .input-wrapper input::placeholder {
      color: #a0b8d0;
    }

    .btn-recover {
      width: 100%;
      padding: 16px;
      border: none;
      border-radius: 60px;
      background: linear-gradient(145deg, #f43b6b, #ff6b8a);
      color: white;
      font-weight: 700;
      font-size: 1.05rem;
      cursor: pointer;
      transition: 0.25s;
      box-shadow: 0 8px 28px rgba(244, 59, 107, 0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: 4px;
    }

    .btn-recover:hover {
      transform: scale(1.02);
      box-shadow: 0 12px 36px rgba(244, 59, 107, 0.35);
    }

    .btn-recover:active {
      transform: scale(0.98);
    }
    
    .btn-recover:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .back-links {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 22px;
      flex-wrap: wrap;
      gap: 12px;
    }

    .back-links a {
      color: #4a6a84;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.9rem;
      transition: 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .back-links a:hover {
      color: #f43b6b;
      gap: 12px;
    }

    .back-links a i {
      font-size: 1rem;
    }

    .back-links .login-link {
      color: #f43b6b;
      font-weight: 600;
    }

    .back-links .login-link:hover {
      text-decoration: underline;
      gap: 8px;
    }

    /* ==============================================
       MODAL ESTILIZADO
       ============================================== */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 9999;
      justify-content: center;
      align-items: center;
      animation: fadeIn 0.3s ease;
    }

    .modal-overlay.show {
      display: flex;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .modal-box {
      background: white;
      border-radius: 32px;
      padding: 40px 36px 32px;
      max-width: 420px;
      width: 100%;
      margin: 20px;
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
      animation: slideUp 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .modal-box::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
    }

    .modal-box.success::before {
      background: linear-gradient(90deg, #25d366, #34d87a);
    }

    .modal-box.error::before {
      background: linear-gradient(90deg, #f43b6b, #ff6b8a);
    }

    .modal-box.warning::before {
      background: linear-gradient(90deg, #f59e0b, #fbbf24);
    }

    .modal-icon {
      text-align: center;
      margin-bottom: 16px;
    }

    .modal-icon i {
      font-size: 3.5rem;
      display: inline-block;
    }

    .modal-box.success .modal-icon i {
      color: #25d366;
    }

    .modal-box.error .modal-icon i {
      color: #f43b6b;
    }

    .modal-box.warning .modal-icon i {
      color: #f59e0b;
    }

    .modal-title {
      text-align: center;
      font-size: 1.3rem;
      font-weight: 700;
      color: #072033;
      margin-bottom: 8px;
    }

    .modal-message {
      text-align: center;
      color: #4a6a84;
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 24px;
    }

    .modal-message strong {
      color: #0a1e2f;
    }

    .modal-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .modal-btn {
      padding: 12px 28px;
      border: none;
      border-radius: 60px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: 0.25s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
    }

    .modal-btn-primary {
      background: linear-gradient(145deg, #f43b6b, #ff6b8a);
      color: white;
      box-shadow: 0 4px 16px rgba(244, 59, 107, 0.25);
    }

    .modal-btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(244, 59, 107, 0.35);
    }

    .modal-btn-secondary {
      background: #f0f4f9;
      color: #1f405a;
    }

    .modal-btn-secondary:hover {
      background: #e2ebf5;
    }

    .modal-btn-success {
      background: linear-gradient(145deg, #25d366, #34d87a);
      color: white;
      box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
    }

    .modal-btn-success:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    }

    .modal-btn-warning {
      background: linear-gradient(145deg, #f59e0b, #fbbf24);
      color: white;
      box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
    }

    .modal-btn-warning:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 20px;
      background: none;
      border: none;
      font-size: 1.4rem;
      color: #9ab0c8;
      cursor: pointer;
      transition: 0.2s;
      padding: 4px 8px;
      border-radius: 12px;
    }

    .modal-close:hover {
      color: #f43b6b;
      background: #fef2f2;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 24px;
      margin-top: 20px;
      font-size: 0.8rem;
      color: #8aa4bc;
    }

    .footer-links a {
      color: #8aa4bc;
      text-decoration: none;
      transition: 0.2s;
    }

    .footer-links a:hover {
      color: #f43b6b;
    }

    /* ----- RESPONSIVO ----- */
    @media (max-width: 480px) {
      .forgot-card {
        padding: 32px 20px 28px;
        border-radius: 32px;
      }

      .forgot-header .logo {
        font-size: 1.6rem;
      }

      .forgot-header h1 {
        font-size: 1.5rem;
      }

      .form-group .input-wrapper input {
        padding: 12px 16px 12px 44px;
        font-size: 0.95rem;
        border-radius: 16px;
      }

      .btn-recover {
        padding: 14px;
        font-size: 1rem;
      }

      .back-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }

      .footer-links {
        flex-wrap: wrap;
        gap: 12px;
      }

      .modal-box {
        padding: 32px 24px 28px;
        margin: 16px;
        border-radius: 28px;
      }

      .modal-icon i {
        font-size: 2.8rem;
      }

      .modal-title {
        font-size: 1.1rem;
      }

      .modal-actions {
        flex-direction: column;
        align-items: center;
      }

      .modal-btn {
        width: 100%;
        justify-content: center;
      }
    }

    @media (max-width: 380px) {
      .forgot-card {
        padding: 24px 16px 20px;
        border-radius: 28px;
      }

      .forgot-header h1 {
        font-size: 1.3rem;
      }
    }