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

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

.auth-card {
  background: #fff;
  border: 1px solid #e0d8cc;
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  border-top: 4px solid #c4541a;
}

.auth-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  color: #1a1714;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.brand-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #e8733a;
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: text-top;
  margin-top: 6px;
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1714;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px;
  color: #9e9189;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label,
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b5f56;
  margin-bottom: 6px;
  font-family: 'DM Mono', monospace;
}
.form-group input {
  width: 100%;
  background: #f5f0e8;
  border: 1px solid #e0d8cc;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
  color: #1a1714;
  outline: none;
  transition: border-color 0.18s;
  font-family: 'DM Mono', monospace;
}
.form-group input:focus {
  border-color: #c4541a;
}
.form-group input::placeholder {
  color: #c5bdb5;
}

.error-msg {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #b91c1c;
  margin-bottom: 16px;
  font-family: 'DM Mono', monospace;
}
.success-msg {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #15803d;
  margin-bottom: 16px;
  font-family: 'DM Mono', monospace;
}

.btn-auth {
  width: 100%;
  background: #c4541a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}
.btn-auth:hover { background: #e8733a; }
.btn-auth:disabled { opacity: 0.6; cursor: not-allowed; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.auth-footer {
  text-align: center;
  font-size: 13px;
  color: #9e9189;
  margin-top: 20px;
}
.auth-footer a {
  color: #c4541a;
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

.forgot-link {
  color: #c4541a;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.forgot-link:hover { text-decoration: underline