body {
    background: #e0e7ee; /* Un tono de gris azulado más suave */
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container {
    max-width: 450px;
    width: 100%;
    background: white;
    padding: 2.5rem; /* Más padding */
    border-radius: 18px; /* Más redondeado */
    box-shadow: 0 10px 30px rgba(0,0,0,0.12); /* Sombra más pronunciada y suave */
    text-align: center;
    box-sizing: border-box;
}
.container img {
    height: 90px; /* Logo más grande */
    margin-bottom: 1.5rem; /* Más espacio */
}
h2 {
    color: #003366;
    margin-bottom: 1.5rem;
    font-size: 2rem; /* Título más grande */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
input {
    width: 100%;
    padding: 14px; /* Más padding */
    border: 1px solid #d0d0d0; /* Borde más suave */
    border-radius: 8px; /* Más redondeado */
    margin-bottom: 1.2rem; /* Más espacio */
    font-size: 16px; /* Texto más grande */
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}
button {
    width: 100%;
    padding: 14px; /* Más padding */
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 8px; /* Más redondeado */
    font-size: 18px; /* Texto más grande */
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}
button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}
.mensaje {
    margin-bottom: 1.5rem; /* Más espacio */
    padding: 12px; /* Más padding */
    border-radius: 8px; /* Más redondeado */
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.mensaje.ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.mensaje.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.mensaje i {
    font-size: 18px;
}
.back-link {
    display: block;
    margin-top: 1.5rem; /* Más espacio */
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}
.back-link:hover {
    color: #0056b3;
}

@media(max-width: 500px){
    .container {
        padding: 2rem;
        border-radius: 15px;
    }
    .container img {
        height: 70px;
    }
    h2 {
        font-size: 1.8rem;
    }
    input,
    button,
    .mensaje,
    .back-link {
        font-size: 14px;
        padding: 12px;
    }
    .mensaje i {
        font-size: 16px;
    }
}