/* Estilo básico para todo el cuerpo del documento */
body {
    font-family: 'Lato', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    background-image: url('../img/quipux2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Posicionar el botón en la esquina inferior derecha */
.bottom-right-button {
    position: absolute;
    bottom: 20px; /* Distancia desde la parte inferior */
    right: 20px; /* Distancia desde el lado derecho */
}

.bottom-right-button button {
    padding: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #308cd1;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.bottom-right-button button:hover {
    background-color: #2fb98b;
}

/* Estilo para el contenedor principal */
main {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilo para el título del formulario */
.title {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    text-align: center;
}

/* Estilo para el formulario */
form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Estilo para las etiquetas */
label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.2rem;
}

/* Estilo para los campos de entrada */
input {
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #7e8f1b;
    outline: none;
}

/* Estilo para los botones */
button {
    padding: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #308cd1;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button[type="reset"] {
    background-color: #308cd1;
}

button:hover {
    background-color: #2fb98b;
}

button[type="reset"]:hover {
    background-color: #2fb98b;
}

/* Estilo para el contenedor de los botones */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Estilo para el botón "OLVIDE MI CONTRASEÑA" */
.password-reset {
    margin-top: 0.40rem;
    text-align: center;
}

.password-reset button {
    padding: 0.40rem;
    border: none;
    border-radius: 4px;
    background-color: #2fb98b;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.password-reset button:hover {
    background-color: #308cd1;
}

/* Estilo para la imagen debajo del botón */
.image-container {
    text-align: center;
    margin-top: 40px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.image-container img:hover {
    transform: scale(1.05);
}

.caption {
    font-size: 0.75rem;
    color: #2d2a2a;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
    line-height: 1.4;
}

/* Estilo responsive */
@media (max-width: 600px) {
    main {
        padding: 1.5rem;
        width: 90%;
    }

    .button-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}
