body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('fondo-min.webp') no-repeat center center fixed;
    background-size: cover;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.login-box {
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    backdrop-filter: blur(2px);
}

.logo img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.logo h1 {
    margin: 0 0 20px;
    font-size: 20px;
    color: gray;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group {
    position: relative;
}

#togglePassword {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    z-index: 2;
}

#eyeIcon {
    font-size: 16px;
    color: #999;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #1587d3e5;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Estilo para el botón de "¿Olvidaste tu contraseña?" para que parezca un enlace de texto */
#forgotPasswordButton {
    background: none;
    color: gray; /* Color azul típico de enlaces */
    border: none;
    padding: 0;
    font: inherit;
    margin-top: 15px;
    cursor: pointer;
    text-decoration: underline; /* Subrayar el texto */
    display: inline; /* Mostrar como texto en línea */
}

#forgotPasswordButton:hover {
    color: #9b9b9b; /* Color más oscuro al pasar el ratón */
}

.loader {
    width: 100%;
    height: 4px;
    background-color: #ccc;
    position: relative;
}

.bar {
    width: 0%;
    height: 100%;
    background-color: #4CAF50;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 3s ease;
}