
  /* ========== ESTILOS MODERNOS TIPO REACT ========== */
  :root {
    --primary: #00B0F0;
    --primary-dark: #0056b3;
    --primary-light: #CCFBF1;
    --gray-bg: #F8FAFC;
    --gray-border: #E2E8F0;
    --text-dark: #0F172A;
    --text-gray: #475569;
    --text-light: #64748B;
    --error: #EF4444;
    --success: #10B981;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    background: linear-gradient(135deg, #F4F7FC 0%, #E9F0F5 100%);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  }

  /* Contenedor principal tipo React Component */
  .react-login-container {
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }

  /* Tarjeta moderna con efecto glassmorphism ligero */
  .react-card {
    max-width: 460px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(0px);
    border-radius: 2rem;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .react-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.15);
  }

  /* Header con gradiente sutil */
  .react-card-header {
    background: linear-gradient(135deg, #00B0F0 0%, #0056b3 100%);
    padding: 1.5rem;
    text-align: center;
    color: white;
  }

  .logo-wrapper {
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .logo-wrapper img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
  }

  .react-card-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 0.25rem;
  }

  .react-card-header p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
  }

  /* Body del formulario */
  .react-card-body {
    padding: 2rem;
  }

  /* Campos de entrada estilo React moderno */
  .react-field {
    margin-bottom: 1.5rem;
  }

  .react-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
  }

  .react-label i {
    font-size: 0.9rem;
    color: var(--primary);
  }

  .react-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .react-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border: 2px solid var(--gray-border);
    border-radius: 1rem;
    background: white;
    transition: all 0.2s ease;
    font-family: inherit;
    color: var(--text-dark);
  }

  .react-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
  }

  .react-input.is-invalid {
    border-color: var(--error);
    background: #FEF2F2;
  }

  .react-error {
    font-size: 0.7rem;
    color: var(--error);
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  /* Botón principal tipo React */
  .react-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .react-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }

  .react-btn:active:not(:disabled) {
    transform: translateY(1px);
  }

  .react-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
  }

  /* Componente de alerta tipo toast */
  .react-alert {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
    box-shadow: var(--shadow-sm);
  }

  .react-alert-success {
    background: #ECFDF5;
    border-left: 4px solid var(--success);
    color: #065F46;
  }

  .react-alert-error {
    background: #FEF2F2;
    border-left: 4px solid var(--error);
    color: #991B1B;
  }

  .react-alert-warning {
    background: #FFFBEB;
    border-left: 4px solid var(--warning);
    color: #92400E;
  }
  
  .react-alert i {
    font-size: 1.1rem;
  }


  /* Animaciones */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  .fa-spinner {
    animation: spin 0.8s linear infinite;
  }

  /* Responsive */
  @media (max-width: 520px) {
    .react-card-body {
      padding: 1.5rem;
    }
  }