@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    box-sizing: border-box
}
body {
    font-family: "Inter", sans-serif;
    background: rgb(245,245,245);
    background: linear-gradient(90deg, rgba(245,245,245,1) 0%, rgba(242,251,251,1) 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px
}

.brand-container h2{
    color: #525252;
    font-weight:bold;
}

.login-container {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #E3E6F0;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.form-control {
    border-radius: 8px;
    margin-bottom: 15px;
    height: 45px;
}

label {
    font-weight: 600;
    color: #858796;
}

.btn-login {
    background-color: #4E73DF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    width: 100%;
    font-weight: 500;
}

#back {
    display: flex;
    align-items: center;
    margin-bottom: 5rem;
    color: #858796;
    cursor: pointer;
}

#back > a{
    color: #858796;
    cursor: pointer;
}

/*.btn-login:hover {
    background-color: #3c51d1;
}*/

.forgot-password {
    margin-top: 15px;
    display: block;
    color: #4a63f3;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.logo {
    margin-bottom: 20px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px;
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: #888;
}

input.is-invalid {
    border: 1px solid #dc3545 !important;
    box-shadow: 0 0 3px 1px rgba(220, 53, 69, 0.4);
}

.password-wrapper input.is-invalid {
    border-right: none !important; /* para que no se monte con el botón del ojo */
}

.rules {
    color: #969696;
    font-size: 14px;
}

.rules p{
    font-weight: bold;
}