/* ===============================
   FONDO GENERAL
================================ */
body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f5f0e6 0%, #efe7db 100%);
  font-family: "Poppins", system-ui, sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #5c3d2e;
}

/* ===============================
   WRAPPER
================================ */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}



.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 35px; /* espacio para el icono */
}

#togglePassword {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    user-select: none; /* para que no seleccione texto al hacer clic */
}
/* ===============================
   CARD REGISTRO
================================ */

/* ===== CARD ===== */
.auth-card {
    width: 380px;
    margin: 90px auto;
    background-color: #ffffff;
    padding: 34px 30px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    animation: fadeUp 0.6s ease;
}

/* ===============================
   TITULOS
================================ */
.auth-card h1 {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.auth-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #7a5a44;
  margin-bottom: 26px;
}

/* ===============================
   LABELS
================================ */
.auth-card label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: #6b4a36;
}

/* ===============================
   INPUTS & SELECT
================================ */
.auth-card input,
.auth-card select {
  width: 92%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e0c7a3;
  background: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.auth-card input:focus,
.auth-card select:focus {
  outline: none;
  border-color: #b08a65;
  box-shadow: 0 6px 14px rgba(139, 94, 60, 0.18);
}

/* ===============================
   BOTÓN
================================ */
.auth-card button {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5e3c, #5c3d2e);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(92, 61, 46, 0.25);
}

/* ===============================
   LINKS
================================ */
.auth-links {
  text-align: center;
  margin-top: 18px;
  font-size: 0.9rem;
}

.auth-links a {
  color: #8b5e3c;
  font-weight: 600;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* ===============================
   FOOTER
================================ */
footer {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* ===============================
   ANIMACIÓN
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 480px) {
  .auth-card {
    padding: 30px 24px;
  }

  .auth-card h1 {
    font-size: 1.6rem;
  }
}