/* ===============================
   VARIABLES
================================= */
:root {
  --font-size-small: 0.875rem;
  --font-size-label: 12px;
  --color-primary: #007bff;
  --color-label: #495057;
  --color-label-focus: #777;
  --color-bg: #f5f5f5;
  --height-input: 3.125rem;
  --padding-input: 0.75rem;
  --padding-top-body: 40px;
  --padding-bottom-body: 40px;
  --max-width-form: 420px;
}

/* ===============================
   BASE
================================= */
html, body {
  height: 100%;
}

body {
  font-family: 'Helvetica', sans-serif;
  font-size: var(--font-size-small);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  background-image: linear-gradient(
      rgba(231, 76, 60, 0.5),
      rgba(208, 211, 212, 0.5)
    ), url("../img/horizontal.jpeg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  padding-top: var(--padding-top-body);
  padding-bottom: var(--padding-bottom-body);
}

@media (max-width: 576px) {
  body {
    background-image: linear-gradient(
        rgba(231, 76, 60, 0.5),
        rgba(208, 211, 212, 0.5)
      ), url("../img/vertical.jpeg");
  }
}

/* ===============================
   LOGO
================================= */
.logo-img {
  width: 75%;
}
@media (max-width: 992px) {
  .logo-img { width: 60%; }
}
@media (max-width: 768px) {
  .logo-img { width: 40%; }
}
@media (max-width: 576px) {
  .logo-img { width: 70%; }
}

/* ===============================
   ELEMENTOS EXTRA
================================= */
.forgot-password {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  font-size: 0.9em;
  margin-top: 1em;
  font-weight: bold;
}
.forgot-password:hover {
  text-decoration: underline;
}

.fixed-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* ===============================
   FORMULARIO
================================= */
form {
  background-color: rgba(222, 240, 253, 0.7);
  border-radius: 15px;
  max-width: 420px;
  margin: auto;
}

.input-group-text i,
.btn i {
  font-size: 1rem;
}


.clean-login .input-group-text {
  background-color: #fff;
  border: 1px solid #ced4da;
  border-right: none;
}

.clean-login .form-control {
  border-left: none;
}

.clean-login .form-control:focus {
  box-shadow: none;
  border-color: var(--color-primary);
}

.clean-login .btn-outline-light {
  background-color: #fff;
  border-color: #ced4da;
  color: #333;
}

.clean-login .btn-outline-light:hover {
  background-color: #f0f0f0;
}

/* ===============================
   CONTRASEÑA - EFECTO OJO
================================= */
#inputpass {
  transition: all 0.2s ease-in-out;
}

#togglePassword:hover i,
#togglePassword:focus i {
  color: var(--color-primary);
}

#togglePassword:active {
  background-color: #f0f0f0;
}

input:focus {
  box-shadow: none;
}