/* assets/css/auth.css */
:root{
  --bg: #f6f3ef;
  --card: #ffffff;

  --text: #2f2a26;
  --muted: #7f736b;

  --border: #e7dfd8;

  /* Pitanga */
  --primary: #80152a;         /* botão */
  --primary-hover: #6f1124;
  --accent: #d95d26;          /* outline laranja */
  --accent-soft: rgba(217, 93, 38, 0.18);

  --radius: 14px;
}

body{
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

/* layout */
.auth{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

/* card */
.auth__card{
  width: 100%;
  max-width: 520px;
  background: var(--card);
  border-radius: 18px;
  padding: 44px 44px 36px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  border: 1px solid rgba(231,223,216,.65);
}

@media (max-width: 520px){
  .auth__card{ padding: 34px 22px 26px; }
}

/* headings */
.auth__title{
  text-align: center;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -0.7px;
}

.auth__subtitle{
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 30px;
}

/* form */
.auth__form{ width: 100%; }

.auth__field{
  margin-bottom: 18px;
}

.auth__label{
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 10px;
  color: #3a322d;
}

/* inputs */
.auth__input{
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 16px;
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease, transform .08s ease;
}

.auth__input::placeholder{
  color: #b2a7a0;
}

.auth__input:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* password wrapper + toggle */
.auth__passwrap{
  position: relative;
}

.auth__input--password{
  padding-right: 98px; /* espaço para "Mostrar" */
}

/* Para ficar parecido com a imagem: destaca o campo de palavra-passe
   (se não quiser sempre destacado, posso ajustar para ficar só no focus) */
.auth__field--password .auth__input{
  border-color: rgba(217, 93, 38, 0.55);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.auth__field--password .auth__input:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(217, 93, 38, 0.22);
}

.auth__toggle-pass{
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #6f645d;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.auth__toggle-pass:hover{
  background: rgba(0,0,0,.04);
  color: var(--primary);
}

/* forgot */
.auth__row{
  margin-top: 2px;
  margin-bottom: 18px;
  text-align: right;
}

.auth__link{
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.auth__link:hover{
  text-decoration: underline;
  color: var(--accent);
}

/* main button */
.auth__btn{
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .2px;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  margin-bottom: 18px;

  /* estado desativado */
  background: #cfc7c0;
  color: #ffffff;
  cursor: not-allowed;
  opacity: .95;
}

.auth__btn.is-enabled{
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(128, 21, 42, .22);
}

.auth__btn.is-enabled:hover{
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.auth__btn.is-enabled:active{
  transform: translateY(0px);
}

/* google button */
.auth__google{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

.auth__google:hover{
  background: #fbfaf9;
  border-color: #d8cfc7;
  transform: translateY(-1px);
}

/* footer */
.auth__foot{
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
