/* Reset de márgenes y padding */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url(../assets/img/auroras.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    color: #333;
    height: 70vh;
    margin: 0;
}

h1 {
    text-align: center;
    margin-top: 2%;
    margin-bottom: 4%;
    font-size: 2rem;
    color: #ffffff;
}
.login{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8%;
}
form {
    background-color: transparent;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 400px;
}

form div {
    margin-bottom: 20px;
}

label {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

button:active {
    transform: scale(0.98);
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    padding-right: 40px; /* Espacio para el icono */
}

.password-container button {
    position: absolute;
    right: 10px;
    top: 4%;
    transform: translateY(-50%);
    transform: translateX(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    width: 2%;
}

.password-container button:focus {
    outline: none;
}

/* ------------- MENSAJE DE ERROR ------------- */
.error-message {
    background-color: #ffffff; /* o #C62828, el rojo que prefieras */
    color: #000000;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}



@media (min-width: 360px) and (max-width: 768px){
    body{
            background-size: cover;
    background-repeat: no-repeat;
        height: 96vh;
    }
}
