/* ===== RESET ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: 'Inter', Arial, sans-serif;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;

  /* Fondo verde premium */
  background: linear-gradient(
    160deg,
    #0f1f1c 0%,
    #1e3a34 50%,
    #0b1513 100%
  );

  color:#fff;
}

/* ===== HEADER HERO ===== */
.circle-header{
  width:100%;
  height:260px;

  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.65)),
    url("../assets/bg-barber.jpg"); /* opcional si tienes imagen */

  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;

  border-bottom-left-radius:40px;
  border-bottom-right-radius:40px;

  box-shadow:0 20px 40px rgba(0,0,0,.4);

  transform: translateY(-120px);
  opacity: 0;
}

.circle-header img{
  width:140px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.5));
}

/* ===== CARD LOGIN ===== */
.login-box{
  width:90%;
  max-width:420px;

  margin-top:-30px;

  padding:32px 24px;

  border-radius:22px;

  background: rgba(255,255,255,.05);
  backdrop-filter: blur(14px);

  box-shadow:
    0 10px 30px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.08);

  text-align:center;
}

/* TITULOS */
.login-box h2{
  font-size:26px;
  margin-bottom:10px;
  font-weight:600;
}

.login-box p{
  font-size:14px;
  color:#b8c9c3;
  margin-bottom:25px;
}

/* ===== INPUTS ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"]{
  width:100%;
  padding:14px 16px;

  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);

  background: rgba(255,255,255,.06);

  color:#fff;
  font-size:15px;

  transition:.25s;
}

input::placeholder{
  color:#9fb3ac;
}

input:focus{
  outline:none;
  border-color:#3f7f6f;
  background: rgba(255,255,255,.09);
}

/* intl input fix */
.iti{
  width:100%;
  margin-bottom:14px;
}

/* ===== BOTON ===== */
button{
  width:100%;
  padding:14px;

  border:none;
  border-radius:14px;

  font-size:16px;
  font-weight:600;

  background: linear-gradient(
    135deg,
    #2e5f54,
    #1e3f38
  );

  color:white;

  cursor:pointer;
  transition:.3s;
}

button:hover{
  transform: translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.35);
}

/* ===== LINK ===== */
a{
  display:inline-block;
  margin-top:18px;
  font-size:13px;

  color:#9fcfc2;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

/* ===== ANIMACIONES ===== */
.circle-header.animar-entrada{
  animation: slideIn .7s ease forwards;
}

.circle-header.salida{
  animation: slideOut .5s ease forwards !important;
}

@keyframes slideIn{
  from{
    transform: translateY(-120px);
    opacity:0;
  }
  to{
    transform: translateY(0);
    opacity:1;
  }
}

@keyframes slideOut{
  from{
    transform: translateY(0);
    opacity:1;
  }
  to{
    transform: translateY(-120px);
    opacity:0;
  }
}
