body {
    font-family: Arial, sans-serif;
    background-image: url(../images/rrhh.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}
h2 {
    color:blue;
}

.login-container {
   background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco semi-transparente */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Sombra para destacar el formulario */
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
}

input {
    width: 100%;
    padding: 10px;
    border: 2px solid #534caf;
    border-radius: 5px;
    font-size: 16px;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: gray;
}

button {
    width: 100%;
    background-color: #534caf;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #433a94;
}
.logo {
    width: 200px;
    height: 150px;
    object-fit: contain; /* Mantiene la proporción sin recortes */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra elegante */
    display: block;
    margin: 0 auto 15px; /* Centrado con margen inferior */
    background-color: white; /* Fondo blanco para mayor visibilidad */
    padding: 10px; /* Espacio alrededor para que respire */
}

