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

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

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #111115;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 36px;
}

.auth-logo {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #c77dff;
  text-decoration: none;
  letter-spacing: -.01em;
  margin-bottom: 3px;
}
.auth-by {
  font-size: 11px;
  color: #4a4845;
  margin-bottom: 24px;
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: #eeecea;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 13px;
  color: #8a8885;
  margin-bottom: 24px;
}

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

.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a8885;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-field input {
  background: #18181e;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: #eeecea;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.auth-field input:focus {
  border-color: #9b5de5;
  box-shadow: 0 0 0 3px rgba(200,169,110,.1);
}
.auth-field input::placeholder { color: #4a4845; }
.auth-field.has-error input { border-color: rgba(248,113,113,.5); }

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

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

.forgot-link {
  font-size: 11px;
  color: #8a8885;
  text-decoration: none;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.forgot-link:hover { color: #9b5de5; }

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

.auth-btn {
  width: 100%;
  padding: 13px;
  background: #9b5de5;
  color: #0a0a0c;
  border: none;
  border-radius: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  margin-top: 4px;
  text-decoration: none;
  display: block;
  text-align: center;
}
.auth-btn:hover { background: #c77dff; }

.auth-error-box {
  background: rgba(248,113,113,.08);
  border: 1px solid rgba(248,113,113,.25);
  border-radius: 8px;
  color: #f87171;
  font-size: 13px;
  padding: 12px 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.auth-error-box a { color: #f87171; }

.auth-success-box {
  background: rgba(74,222,128,.07);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 8px;
  color: #4ade80;
  font-size: 13px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.auth-success { text-align: center; padding: 8px 0; }
.auth-success-icon { font-size: 40px; margin-bottom: 16px; }
.auth-success h2 { font-size: 20px; font-weight: 700; color: #eeecea; margin-bottom: 10px; }
.auth-success p { font-size: 14px; color: #8a8885; line-height: 1.6; }
.auth-success strong { color: #eeecea; font-weight: 500; }

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: #8a8885;
  margin-top: 20px;
}
.auth-switch a { color: #9b5de5; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
