@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

.auth-body {
  min-height: 100vh;
  background: #F5F4F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #111;
  text-decoration: none;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.auth-logo-icon {
  width: 28px; height: 28px;
  background: #111;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px;
  flex-shrink: 0;
}
.auth-by {
  font-size: 11px;
  font-weight: 600;
  color: #AAAAAA;
  margin-bottom: 28px;
  padding-left: 38px;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  color: #111;
  letter-spacing: -.04em;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px;
  color: #777;
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1.5;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #AAAAAA;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-field input {
  background: #F5F4F0;
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  color: #111;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.auth-field input:focus {
  border-color: rgba(0,0,0,0.35);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.auth-field input::placeholder { color: #CCCCCC; font-weight: 500; }
.auth-field.has-error input { border-color: rgba(185,28,28,0.4); }

.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 48px; }
.pass-toggle {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; font-size: 15px;
  color: #AAAAAA; padding: 4px; line-height: 1;
}

.field-error { font-size: 12px; color: #B91C1C; margin-top: 2px; font-weight: 600; }

.forgot-link {
  font-size: 11px; color: #AAAAAA;
  text-decoration: none; font-weight: 700;
  text-transform: none; letter-spacing: 0;
  transition: color .15s;
}
.forgot-link:hover { color: #111; }

/* Consent checkbox */
.consent-field .consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  text-transform: none; letter-spacing: 0;
  font-size: 13px; color: #777; cursor: pointer;
  font-weight: 500;
}
.consent-label input[type=checkbox] {
  width: 16px; height: 16px; accent-color: #111;
  margin-top: 2px; flex-shrink: 0; cursor: pointer;
}
.consent-label a { color: #111; text-decoration: none; font-weight: 700; }
.consent-label a:hover { text-decoration: underline; }

/* PRIMARY BUTTON */
.auth-btn {
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .15s;
  margin-top: 6px;
  text-decoration: none;
  display: block;
  text-align: center;
  letter-spacing: -.01em;
}
.auth-btn:hover { opacity: .82; }

/* ERROR / SUCCESS */
.auth-error-box {
  background: rgba(185,28,28,0.07);
  border: 1px solid rgba(185,28,28,0.20);
  border-radius: 10px;
  color: #B91C1C;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.auth-error-box a { color: #B91C1C; font-weight: 800; }

.auth-success-box {
  background: rgba(26,107,60,0.07);
  border: 1px solid rgba(26,107,60,0.20);
  border-radius: 10px;
  color: #1A6B3C;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  margin-bottom: 20px;
}

/* Success state (verify email etc) */
.auth-success { text-align: center; padding: 8px 0; }
.auth-success-icon { font-size: 44px; margin-bottom: 18px; }
.auth-success h2 { font-size: 22px; font-weight: 800; color: #111; margin-bottom: 10px; letter-spacing: -.03em; }
.auth-success p { font-size: 14px; color: #777; line-height: 1.65; font-weight: 500; }
.auth-success strong { color: #111; font-weight: 800; }

/* SWITCH LINK */
.auth-switch {
  text-align: center;
  font-size: 13px;
  color: #AAAAAA;
  margin-top: 22px;
  font-weight: 600;
}
.auth-switch a { color: #111; text-decoration: none; font-weight: 800; }
.auth-switch a:hover { text-decoration: underline; }
