body {
    font-family: 'Poppins', sans-serif;
    background-color:#0E2E67;
/*     background: radial-gradient(circle at center, #0f172a 0%, #020617 100%); */
    overflow-x: hidden;
}

h1, h2, h3, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Capas de Canvas de Fondo */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

#rainCanvas {
    z-index: 1;
}

#lightningCanvas {
    z-index: 2;
}

/* Efecto Glassmorphism para la tarjeta del Login 1*/
/*.glass-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0 1000px #1A4287 inset;
    transition: background-color 5000s ease-in-out 0s;
}
/* Efecto Glassmorphism para la tarjeta del Login 2*/
.glass-card {
    background: rgba(14, 46, 103, 0.90);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid #3B5E96;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(59, 94, 150, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Botón con estilos personalizados */
.btn-lightning {
    background: linear-gradient(135deg, #FF5500 0%, #E64A00 100%);
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-lightning:hover {
    background: linear-gradient(135deg, #ff661a 0%, #ff5500 100%);
    box-shadow: 0 6px 25px rgba(255, 85, 0, 0.6);
    transform: translateY(-1px);
}

/* Animaciones y utilidades */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.animate-shake {
    animation: shake 0.4s ease-in-out;
}

/* Checkbox personalizado */
.custom-checkbox {
    appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #4A75B8;
    border-radius: 0.3rem;
    background-color: #1A4287;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox:checked {
    background-color: #FF5500;
    border-color: #FF5500;
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}