:root {
  --bg:        #0d1924;
  --card:      #172532;
  --card-2:    #111e2a;
  --surface:   #08131d;
  --border:    #203140;
  --border-2:  #293c4d;
  --text:      #ffffff;
  --muted:     #868c90;
  --dim:       #5f6366;
  --primary:   #5BB532;
  --danger:    #1FB5A9;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body.auth-body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  overflow-x: hidden;
}

body.auth-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(91,181,50,0.10), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(31,181,169,0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.auth-shell {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.auth-brand img {
  height: 30px;
  width: auto;
  display: block;
  object-fit: contain;
}
.auth-eyebrow {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-hero h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.auth-hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.auth-error {
  padding: 12px 14px;
  background: rgba(31,181,169,0.10);
  border: 1px solid rgba(31,181,169,0.35);
  color: #fca5a5;
  border-radius: 8px;
  font-size: 13.5px;
  margin-bottom: 18px;
}

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

.auth-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text);
  padding: 11px 13px;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s, background-color 0.2s;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--primary);
  background: #050b11;
}
.auth-field input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-submit {
  margin-top: 8px;
  background: linear-gradient(90deg, #5BB532 0%, #1FB5A9 100%);
  border: none;
  color: #000;
  padding: 7px 8px 7px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: filter 0.2s, transform 0.1s, box-shadow 0.2s;
}
.auth-submit:hover { filter: brightness(1.1); box-shadow: 0 6px 20px rgba(91,181,50,0.35); }
.auth-submit:active { transform: translateY(1px); }
.auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.4);
}
.auth-submit svg {
  width: 14px; height: 14px;
  background: var(--bg);
  color: var(--primary);
  padding: 9px;
  border-radius: 50%;
  box-sizing: content-box;
  transition: background 0.2s;
  flex: 0 0 14px;
}
.auth-submit:hover svg { background: #000; }

.auth-footer {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover { color: #fff; }
