/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Estilo general del cuerpo */
body {
    height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #3b4a6b, #95b3cc);
    /* Azul pastel oscuro a celeste pastel oscuro */
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenedor del formulario de login */
.login-container {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 50px 40px;
    width: 420px;
    text-align: center;
}

img.rounded-circle {
    border-radius: 50%;
    max-width: 200px;
    /* Tamaño máximo */
    height: auto;
    /* Mantiene la relación de aspecto */
}

/* Título principal */
.login-container h2 {
    font-family: 'Georgia', serif;
    font-size: 32px;
    color: #1b2d4a;
    margin-bottom: 10px;
}

/* Subtítulo */
.login-container h3 {
    font-family: 'Georgia', serif;
    font-size: 20px;
    color: #3c4858;
    margin-bottom: 30px;
}

/* Etiquetas */
label {
    display: block;
    text-align: left;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1c1c1c;
}

/* Estilo de los campos de entrada */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    border: 1px solid #b0c4de;
    border-radius: 8px;
    background-color: #f6faff;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #47678f;
    outline: none;
}

/* Botón de login */
button {
    margin-top: 30px;
    width: 100%;
    padding: 14px;
    background-color: #2c3e5e;
    /* más oscuro */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #47678f;
}

/* Mensaje de error */
.error-msg {
    background-color: #ffe6e6;
    color: #b00020;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Grupo de entrada */
.input-group {
    margin-top: 20px;
    text-align: left;
}

/* Enlace de registro */
.register-link {
    margin-top: 25px;
    font-size: 15px;
    color: #333;
}

.register-link a {
    color: #2c3e5e;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #47678f;
    text-decoration: underline;
}