/* Fondo animado con degradado */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fondo 10s ease infinite alternate;
}

@keyframes fondo {
    0% {
        background: linear-gradient(135deg, #1e3c72, #2a5298);
    }
    100% {
        background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    }
}

/* Contenedor del formulario */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Título */
.login-container h2 {
    margin-bottom: 30px;
    color: #2a5298;
}

/* Inputs */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    transition: 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #4A90E2;
    outline: none;
}

/* Botones generales */
button {
    width: 100%;
    padding: 14px;
    background: #4A90E2;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

/* Efecto hover */
button:hover {
    background: #357ABD;
}

/* Botón de registro con color diferente */
.register-btn {
    background-color: #28a745;
}

.register-btn:hover {
    background-color: #218838;
}

/* Mensaje de error */
.error-message {
    color: #d9534f;
    font-weight: bold;
    margin-top: 15px;
}

/* Acciones adicionales centradas */
.extra-actions {
    margin-top: 20px;
}

.success-message {
    color: #28a745;
    font-weight: bold;
    margin-top: 15px;
}




/* 
    Created on : Aug 1, 2025, 8:53:47 PM
    Author     : Ismael Diaz Serrano
*/

