@charset "UTF-8";


/* =========================================================
   DRAWER
========================================================= */

.drawer {

  position: fixed;

  top: 0;

  right: -460px;

  width: 100%;

  max-width: 460px;

  height: 100vh;

  background:
    var(--bg-dark);

  transition:
    right 0.35s ease;

  z-index: 9500;

  overflow-y: auto;

  box-shadow:
    -10px 0 40px rgba(0,0,0,0.35);
}


/* =========================================================
   DRAWER ACTIVO
========================================================= */

.drawer.is-active {

  right: 0;
}


/* =========================================================
   CONTENT
========================================================= */

.drawer-content {

  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: center;

  min-height: 100%;

  padding: 60px 40px;
}


/* =========================================================
   CLOSE
========================================================= */

.drawer-close {

  position: absolute;

  top: 18px;

  right: 18px;

  width: 42px;

  height: 42px;

  border: none;

  border-radius: 50%;

  background:
    rgba(255,255,255,0.08);

  color:
    var(--text-inverse);

  font-size: 1.6rem;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}


.drawer-close:hover {

  background:
    rgba(255,255,255,0.14);

  transform:
    rotate(90deg);
}


/* =========================================================
   LOGO
========================================================= */

.login-logo {

  width: 180px;

  max-width: 100%;

  margin: 0 auto 28px;

  display: block;
}


/* =========================================================
   TITLES
========================================================= */

.drawer h2 {

  margin-bottom: 14px;

  text-align: center;

  font-size:
    clamp(2rem, 4vw, 2.6rem);

  color:
    var(--text-inverse);
}


.login-subtitulo {

  margin-bottom: 34px;

  text-align: center;

  line-height: 1.7;

  color:
    rgba(255,255,255,0.72);
}


/* =========================================================
   FORM
========================================================= */

.login-formulario {

  display: flex;

  flex-direction: column;

  gap: 16px;
}


.login-formulario input {

  width: 100%;

  height: 52px;

  padding: 0 18px;

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius: 14px;

  background:
    rgba(255,255,255,0.04);

  color:
    var(--text-inverse);

  font-size: 0.95rem;
}


.login-formulario input::placeholder {

  color:
    rgba(255,255,255,0.45);
}


/* =========================================================
   LINK
========================================================= */

.login-link {

  margin-top: 24px;

  text-align: center;
}


.login-link a {

  color:
    rgba(255,255,255,0.72);

  text-decoration: none;

  transition:
    color 0.25s ease;
}


.login-link a:hover {

  color:
    var(--text-inverse);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .drawer {

    max-width: 100%;
  }

  .drawer-content {

    padding: 60px 28px;
  }

}