/* Estilos para la página de inicio de sesión */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e6f0ff, #f0f5ff);
    color: #033468;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 30px;
}

.div, .cont {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 420px;
    text-align: center;
    border-top: 5px solid #466eaa;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #466eaa;
    font-size: 28px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #466eaa;
    border-radius: 25px;
    font-size: 16px;
}

.password-container {
    position: relative;
}

#togglePassword {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #466eaa;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #466eaa;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #5a82c7;
    transform: scale(1.05);
}

p {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

a {
    color: #466eaa;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Diseño Responsivo */
@media (max-width: 768px) {
    .div, .cont {
        width: 90%;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .div, .cont {
        width: 100%;
        padding: 20px;
    }
    h2 {
        font-size: 20px;
    }
}
