
* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif; 
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../assets/img/tranporte_minivan.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

.container {
    position: relative;
    width: 400px; 
}

.login-box {
    position: relative;
    background: rgba(255, 255, 255, 0.8); /* Fondo blanco semi-transparente */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2em;
    color: #1f293a;
    text-align: center;
}

.input-box {
    position: relative;
    margin: 25px 0;
}

.input-box input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: 2px solid #2c4766;
    outline: none;
    border-radius: 40px;
    font-size: 1em;
    color: #1f293a;
    padding: 0 20px;
    transition: 0.5s;
    padding-right: 40px; 
}

.input-box input:focus,
.input-box input:valid {
    border-color: #0ef;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #1f293a;
    pointer-events: none;
    transition: 0.5s ease;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: 1px;
    font-size: 0.8em;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0 6px;
    color: #0ef;
}

.password-box {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #1f293a;
    cursor: pointer;
    display: none; 
}

.password-box input:focus ~ .toggle-password,
.password-box input:valid ~ .toggle-password {
    display: block;
}

.toggle-password:hover {
    color: #0ef;
}

.remember-me {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.remember-me label {
    color: #1f293a;
    margin-left: 5px;
}

.btn {
    width: 100%;
    height: 45px;
    border-radius: 45px;
    background: #0ef;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    color: #1f293a;
    font-weight: 600;
}

/* Estilos para el enlace '¿Olvidaste tu contraseña?' */
.forgot-password {
    text-align: center;
    margin-top: 15px; /* Separación del botón */
}

.forgot-password a {
    font-size: 0.9em;
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: blue; /* Cambio de color al pasar el cursor */
    text-decoration: underline;
}


