/* Estructura general */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Caja del formulario */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

img {
    max-width: 250px;
    margin: 2rem 0;
}

.password{
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background-color: #007bff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Estilos del encabezado */
h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 20px;
}

/* Estilo de los inputs y botones */
.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    color: white;
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: white;
    color: #2c3e50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background-color: #2c3e50;
    color: white;
}

/* Estilo para el mensaje de error */
.error {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}

/* Estilo para el enlace "¿Olvidaste tu contraseña?" */
a {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    cursor: pointer;
}

/* Contenedor principal */
.container {
    position: relative;
    margin: 20px auto;
    max-width: 900px;
    padding: 20px;
    background-color: #2c3e50;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.close-icon {
    position: absolute;
    top: 0%;
    right: 4%;
}

.close-icon svg {
    width: 5vw; /* 5% del ancho de la pantalla */
    max-width: 30px; /* Tamaño máximo */
    height: auto;
}
