/* Estilos generales */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Fondo que cubre toda la pantalla */
.background-login {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.background-login img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Estilo del formulario centrado */
.signIn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(55, 115, 109, 0.85); /* color1 con transparencia */
    border-radius: 2vh;
    padding: 2vh 4vh;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Estilo de la marca */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2vh;
}

.brand img {
    width: 50%;
    margin-bottom: 1vh;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.brand p {
    font-size: 1.2vh;
    font-weight: 600;
    color: #e1e1df; /* color5 */
}

/* Estilo del formulario */
.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
}

.input {
    width: 100%;
    padding: 1vh;
    font-size: 1rem;
    border: 1px solid #a3b5ac; /* color3 */
    background-color: #e1e1df; /* color5 */
    border-radius: 0.5vh;
    box-sizing: border-box;
    color: #000;
}

/* Eliminar autofill rosa en Chrome */
.input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #e1e1df inset !important;
    -webkit-text-fill-color: #000 !important;
}

/* Botón de acción */
.text-btn {
    width: 100%;
    padding: 1vh;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #5a887f; /* color2 */
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.text-btn:hover {
    background-color: #37736d; /* color1 */
}
