 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 39, 73, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    min-height: 600px;
    display: flex;
    position: relative;
}

/* Sección izquierda - Formulario */
.login-section {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: white;
    position: relative;
}

.logo-section {
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 40px;
    text-align: center;
    color: white;
    font-weight: bold;
}

.register-btn {
    position: absolute;
    top: 40px;
    right: 60px;
    background: transparent;
    border: 2px solid #4a90e2;
    color: #4a90e2;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #4a90e2;
    color: white;
}

.welcome-text {
    margin-bottom: 40px;
    margin-top: 40px;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.welcome-text h2 {
    font-size: 32px;
    color: #002749;
    margin-top: 30px;
    margin-bottom: 10px;
    
    align-items: center;
    gap: 10px;
}
.info-box {
    background-color: rgba(255, 107, 53, 0.1); 
    color: #663c2f; 
    padding: 12px 16px;
    border-left: 4px solid #ff6b35; 
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
}


/* Formulario */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.form-group input:focus {
    outline: none;
    border-color: #1a3d5c;
    background: #f5f5f5;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group input::placeholder {
    color: #9e9e9e;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9e9e9e;
    font-size: 16px;
}

.form-group input[type="text"] {
    padding-left: 50px;
}

.form-group input[type="password"] {
    padding-left: 50px;
}

.soporte {
    text-align: center;
    margin-top: 20px;
}

.soporte p {
    color:#625f5f; 
    font-size: 0.9rem;
    margin-bottom: 5px;
    margin-top: 10px;
}


.btn-soporte {
  margin-top: 8px;
  background-color: #e0e8ee; /* naranja translúcido */
  color: #1a3d5c;
  border: 1px solid #ccd9e3;
  border-radius: 999px; /* forma de píldora */
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-soporte:hover {
  background-color: #d1dce5; /* un poco más oscuro que el fondo base */
  border-color: #b3c9db;     /* un poco más fuerte que el borde base */
  color: #002749;            /* opcional: texto más marcado al hacer hover */
  text-decoration: none;
}


.sign-in-btn {
    width: 50%;
    padding: 12px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 10px; /* forma de píldora */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sign-in-btn:hover {
  background: linear-gradient(135deg, #ff6b35, #ff874a);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Sección derecha - Ilustración */
.illustration-section {
    flex: 1;
    background: #002749;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    overflow: hidden;
}

.illustration-content {
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.illustration-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.illustration-content p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}


@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Curva orgánica */
.illustration-section::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    width: 100px;
    height: 100%;
    background: white;
    border-radius: 0 50% 50% 0;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
    }

    .login-section {
        padding: 40px 30px;
    }

    .logo-section {
        position: static;
        margin-bottom: 20px;
        display: inline-block;
    }

    .register-btn {
        position: static;
        margin-bottom: 20px;
        float: right;
    }

    .illustration-section {
        padding: 40px 30px;
        min-height: 300px;
    }

    .illustration-section::before {
        display: none;
    }

    .welcome-text h2 {
        font-size: 24px;
    }
}

.swal2-popup {
    border-radius: 50px !important;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 30px;
}

.swal2-title {
    font-weight: 800;
}

.swal2-confirm {
    width: 150px;
    border-radius: 10px !important;
}

/* Personaliza el loader de SweetAlert2 */
.swal2-loader {
  width: 90px !important;
  height: 80px !important;
  border: 10px;
  border-right: 8px solid #f07e13; /* Azul oscuro */
  border-left: 7px solid #002749; /* Azul oscuro */
    border-radius: 50%;
  animation: spin 1.3s ease-in-out infinite;
  margin: 20px auto;
}

/* Animación de giro */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}