/* =========================================================
   HOUSE OF A&N
   Recuperación de contraseña
========================================================= */

:root {

  --bg-main: #060607;
  --bg-card: #101012;

  --gold: #d4af37;
  --gold-light: #f0d36c;
  --gold-dark: #aa8421;

  --white: #ffffff;

  --text-main: #f5f5f5;
  --text-muted: #98989f;
  --text-soft: #67676f;

  --border-gold: rgba(212, 175, 55, 0.18);

  --border-input: rgba(255, 255, 255, 0.09);

  --input-bg: rgba(255, 255, 255, 0.025);

  --radius-card: 24px;
  --radius-input: 14px;

  --shadow-card:
    0 30px 80px rgba(0, 0, 0, 0.55);

}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  width: 100%;
  min-height: 100%;
}


body {
  width: 100%;
  min-height: 100vh;

  font-family:
    "DM Sans",
    sans-serif;

  background:
    var(--bg-main);

  color:
    var(--text-main);

  overflow-x:
    hidden;

  -webkit-font-smoothing:
    antialiased;

}


/* =========================================================
   FONDO
========================================================= */

.recover-background {

  position:
    fixed;

  inset:
    0;

  z-index:
    -5;

  pointer-events:
    none;

  background:

    radial-gradient(
      circle at 85% 10%,
      rgba(212, 175, 55, 0.07),
      transparent 30%
    ),

    radial-gradient(
      circle at 10% 90%,
      rgba(212, 175, 55, 0.04),
      transparent 30%
    ),

    #060607;

}


.recover-background::after {

  content:
    "";

  position:
    absolute;

  inset:
    0;

  opacity:
    0.45;

  background-image:

    linear-gradient(
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px
    ),

    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px
    );

  background-size:
    50px 50px;

}


.glow {

  position:
    fixed;

  border-radius:
    50%;

  pointer-events:
    none;

  filter:
    blur(120px);

  opacity:
    0.13;

  z-index:
    -4;

}


.glow-one {

  width:
    330px;

  height:
    330px;

  top:
    -170px;

  right:
    -100px;

  background:
    var(--gold);

}


.glow-two {

  width:
    280px;

  height:
    280px;

  bottom:
    -150px;

  left:
    -100px;

  background:
    #75560b;

}


/* =========================================================
   PÁGINA
========================================================= */

.recover-page {

  width:
    100%;

  min-height:
    100vh;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    22px 16px;

}


/* =========================================================
   TARJETA
========================================================= */

.recover-card {

  position:
    relative;

  width:
    100%;

  max-width:
    430px;

  padding:
    28px 28px 22px;

  background:

    linear-gradient(
      145deg,
      rgba(18, 18, 21, 0.98),
      rgba(10, 10, 12, 0.98)
    );

  border:
    1px solid
    var(--border-gold);

  border-radius:
    var(--radius-card);

  box-shadow:
    var(--shadow-card);

  overflow:
    hidden;

  animation:
    cardEnter
    0.45s
    ease-out
    both;

}


.top-line {

  position:
    absolute;

  top:
    0;

  left:
    50%;

  transform:
    translateX(-50%);

  width:
    62%;

  height:
    1px;

  background:

    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );

}


/* =========================================================
   LOGO
========================================================= */

.logo-wrap {

  position:
    relative;

  display:
    flex;

  justify-content:
    center;

  align-items:
    center;

  margin-bottom:
    16px;

}


.recover-logo {

  position:
    relative;

  z-index:
    2;

  width:
    72px;

  height:
    72px;

  object-fit:
    contain;

  filter:
    drop-shadow(
      0 0 12px
      rgba(212, 175, 55, 0.16)
    );

}


.logo-glow {

  position:
    absolute;

  width:
    75px;

  height:
    75px;

  border-radius:
    50%;

  background:
    rgba(212, 175, 55, 0.14);

  filter:
    blur(28px);

}


/* =========================================================
   HEADER
========================================================= */

.recover-header {

  text-align:
    center;

  margin-bottom:
    22px;

}


.recover-badge {

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  padding:
    6px 12px;

  margin-bottom:
    13px;

  border-radius:
    100px;

  border:
    1px solid
    rgba(212, 175, 55, 0.25);

  background:
    rgba(212, 175, 55, 0.055);

  color:
    var(--gold);

  font-size:
    10px;

  font-weight:
    600;

  letter-spacing:
    0.75px;

  text-transform:
    uppercase;

}


.recover-badge i {

  font-size:
    11px;

}


.recover-title {

  margin:
    0 auto 10px;

  max-width:
    360px;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(
      31px,
      5vw,
      41px
    );

  font-weight:
    600;

  line-height:
    1.02;

  letter-spacing:
    -0.6px;

  color:
    var(--white);

}


.recover-description {

  width:
    100%;

  max-width:
    350px;

  margin:
    0 auto;

  color:
    var(--text-muted);

  font-size:
    13px;

  line-height:
    1.6;

}


/* =========================================================
   FORMULARIO
========================================================= */

.recover-form {

  width:
    100%;

}


.form-group {

  width:
    100%;

  margin-bottom:
    17px;

}


.form-label {

  display:
    block;

  margin-bottom:
    7px;

  color:
    #d1d1d5;

  font-size:
    11px;

  font-weight:
    600;

  letter-spacing:
    0.55px;

  text-transform:
    uppercase;

}


/* =========================================================
   INPUT
========================================================= */

.input-wrap {

  position:
    relative;

  width:
    100%;

  display:
    flex;

  align-items:
    center;

}


.input-icon {

  position:
    absolute;

  left:
    15px;

  top:
    50%;

  transform:
    translateY(-50%);

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  color:
    #77777f;

  font-size:
    16px;

  pointer-events:
    none;

  transition:
    color
    0.2s
    ease;

}


.form-input {

  width:
    100%;

  height:
    52px;

  padding:
    0 15px 0 45px;

  border:
    1px solid
    var(--border-input);

  border-radius:
    var(--radius-input);

  outline:
    none;

  background:
    var(--input-bg);

  color:
    var(--white);

  font-family:
    "DM Sans",
    sans-serif;

  font-size:
    14px;

  transition:

    border-color
    0.22s
    ease,

    box-shadow
    0.22s
    ease,

    background
    0.22s
    ease;

}


.form-input::placeholder {

  color:
    #62626a;

}


.form-input:focus {

  border-color:
    rgba(212, 175, 55, 0.7);

  background:
    rgba(212, 175, 55, 0.025);

  box-shadow:

    0 0 0 4px
    rgba(212, 175, 55, 0.065);

}


.input-wrap:focus-within
.input-icon {

  color:
    var(--gold);

}


/* Autofill Chrome */

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {

  -webkit-text-fill-color:
    #ffffff;

  -webkit-box-shadow:
    0 0 0 1000px
    #111114 inset;

  transition:
    background-color
    9999s
    ease-in-out
    0s;

}


/* =========================================================
   BOTÓN
========================================================= */

.btn-recover {

  position:
    relative;

  width:
    100%;

  height:
    52px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border:
    none;

  border-radius:
    var(--radius-input);

  overflow:
    hidden;

  cursor:
    pointer;

  background:

    linear-gradient(
      135deg,
      var(--gold-light),
      var(--gold) 55%,
      var(--gold-dark)
    );

  color:
    #0d0d0e;

  font-family:
    "DM Sans",
    sans-serif;

  font-size:
    12px;

  font-weight:
    700;

  letter-spacing:
    0.75px;

  box-shadow:

    0 12px 25px
    rgba(212, 175, 55, 0.14);

  transition:

    transform
    0.2s
    ease,

    filter
    0.2s
    ease,

    box-shadow
    0.2s
    ease;

}


.btn-recover:hover {

  transform:
    translateY(-2px);

  filter:
    brightness(1.04);

  box-shadow:

    0 16px 30px
    rgba(212, 175, 55, 0.2);

}


.btn-recover:active {

  transform:
    translateY(0);

}


.btn-recover:disabled {

  cursor:
    not-allowed;

  opacity:
    0.7;

  transform:
    none;

}


.btn-content {

  position:
    relative;

  z-index:
    2;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    8px;

}


.btn-content i {

  font-size:
    14px;

}


.btn-shine {

  position:
    absolute;

  top:
    -60%;

  left:
    -100px;

  width:
    45px;

  height:
    230%;

  background:
    rgba(255, 255, 255, 0.28);

  transform:
    rotate(25deg);

  transition:
    left
    0.7s
    ease;

}


.btn-recover:hover
.btn-shine {

  left:
    calc(100% + 50px);

}


/* =========================================================
   NOTA
========================================================= */

.security-note {

  width:
    100%;

  margin-top:
    13px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  text-align:
    center;

  color:
    var(--text-soft);

  font-size:
    10px;

  line-height:
    1.45;

}


.security-note i {

  color:
    rgba(212, 175, 55, 0.7);

  font-size:
    10px;

}


/* =========================================================
   VOLVER
========================================================= */

.back-wrap {

  margin-top:
    20px;

  text-align:
    center;

}


.back-link {

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  color:
    var(--gold);

  font-size:
    12px;

  font-weight:
    500;

  text-decoration:
    none;

  transition:

    gap
    0.2s
    ease,

    color
    0.2s
    ease;

}


.back-link:hover {

  gap:
    10px;

  color:
    var(--gold-light);

}


/* =========================================================
   FOOTER
========================================================= */

.recover-footer {

  width:
    100%;

  margin-top:
    20px;

  padding-top:
    14px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.045);

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  flex-wrap:
    wrap;

  gap:
    7px;

  color:
    #505058;

  font-size:
    9px;

  letter-spacing:
    0.55px;

  text-transform:
    uppercase;

}


.footer-dot {

  width:
    3px;

  height:
    3px;

  border-radius:
    50%;

  background:
    var(--gold);

}


/* =========================================================
   SPINNER
========================================================= */

.btn-spinner {

  display:
    inline-block;

  width:
    15px;

  height:
    15px;

  border:
    2px solid
    rgba(0, 0, 0, 0.25);

  border-top-color:
    #111;

  border-radius:
    50%;

  animation:
    spinnerRotate
    0.65s
    linear
    infinite;

}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 768px) {

  .recover-page {

    padding:
      18px 14px;

  }

}


/* =========================================================
   CELULAR
========================================================= */

@media
(max-width: 520px) {

  .recover-page {

    padding:
      14px 12px;

  }


  .recover-card {

    max-width:
      100%;

    padding:
      23px 18px 19px;

    border-radius:
      21px;

  }


  .logo-wrap {

    margin-bottom:
      14px;

  }


  .recover-logo {

    width:
      64px;

    height:
      64px;

  }


  .recover-header {

    margin-bottom:
      19px;

  }


  .recover-badge {

    font-size:
      9px;

    padding:
      6px 10px;

  }


  .recover-title {

    max-width:
      310px;

    font-size:
      31px;

    line-height:
      1;

  }


  .recover-description {

    max-width:
      310px;

    font-size:
      12px;

    line-height:
      1.55;

  }


  .form-input {

    height:
      50px;

    font-size:
      13px;

  }


  .btn-recover {

    height:
      50px;

  }


  .security-note {

    font-size:
      9px;

  }


  .recover-footer {

    margin-top:
      18px;

    font-size:
      8px;

  }

}


/* =========================================================
   CELULARES PEQUEÑOS
========================================================= */

@media
(max-width: 360px) {

  .recover-card {

    padding:
      20px 15px 17px;

  }


  .recover-title {

    font-size:
      28px;

  }


  .recover-description {

    font-size:
      11px;

  }


  .recover-footer {

    flex-direction:
      column;

    gap:
      3px;

  }


  .footer-dot {

    display:
      none;

  }

}


/* =========================================================
   PANTALLAS BAJAS
========================================================= */

@media
(max-height: 680px) {

  .recover-page {

    align-items:
      flex-start;

    padding-top:
      12px;

    padding-bottom:
      12px;

  }


  .recover-card {

    padding-top:
      20px;

    padding-bottom:
      17px;

  }


  .recover-logo {

    width:
      60px;

    height:
      60px;

  }


  .recover-header {

    margin-bottom:
      17px;

  }


  .recover-title {

    font-size:
      31px;

  }


  .recover-footer {

    margin-top:
      16px;

    padding-top:
      12px;

  }

}


/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes cardEnter {

  from {

    opacity:
      0;

    transform:
      translateY(15px)
      scale(0.985);

  }


  to {

    opacity:
      1;

    transform:
      translateY(0)
      scale(1);

  }

}


@keyframes spinnerRotate {

  to {

    transform:
      rotate(360deg);

  }

}