/* Reset de márgenes y padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fondo global y fuente */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #dceeff, #ffffff); /* Azul muy claro hacia blanco */
    color: #333;
    line-height: 1.6;
    font-size: 18px; /* Aumenté tamaño de fuente */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: start;
    padding-top: 50px; /* Menos espacio arriba */
    animation: fadeSlideIn 1s ease-out;
}

/* Animación de entrada */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contenedor de login */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 450px;
    text-align: center;
    animation: fadeSlideIn 1s ease-out;
}

/* Logo */
.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

/* Input */
input {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    font-size: 1.1rem;
    border-radius: 10px;
    border: 1px solid #88c0ff;
    background-color: #f9fcff;
    transition: 0.3s ease-in-out;
}

input:focus {
    border-color: #5599ff;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(85, 153, 255, 0.5);
    transform: scale(1.03);
}

/* Botón */
button {
    background-color: #5599ff;
    color: #fff;
    padding: 15px 25px;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #3377ff;
    transform: scale(1.05);
}

/* Mensaje de error */
.error-message {
    color: #e74c3c;
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Enlace */
a {
    color: #5599ff;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

a:hover {
    text-decoration: underline;
    color: #3377ff;
}
