/* ── Auth pages (login, register, account, verify) ─────────────── */
.auth-wrap {
  max-width: 440px;
  margin: 40px auto clamp(40px, 6vw, 80px);
  padding: 0 clamp(16px, 4vw, 24px);
}

.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 36px);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.auth-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-group { margin-bottom: 14px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.form-input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s;
}
.form-input:focus { outline: none; border-color: var(--green); }

.btn-primary {
  display: block;
  width: 100%;
  padding: 11px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
  margin-top: 20px;
}
.btn-primary:hover { background: var(--green-dark); }

.btn-secondary {
  display: inline-block;
  padding: 8px 16px;
  background: none;
  color: var(--text-muted);
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); text-decoration: none; }

.btn-danger {
  display: inline-block;
  padding: 8px 16px;
  background: none;
  color: var(--red);
  border: 1.5px solid var(--red-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .15s;
}
.btn-danger:hover { background: var(--red-light); }

.auth-alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.auth-alert.error   { background: var(--red-light);   color: var(--red); }
.auth-alert.success { background: var(--green-light); color: var(--green-dark); }
.auth-alert.info    { background: var(--amber-light); color: var(--amber); }

.auth-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.auth-footer a { color: var(--green); }

.auth-divider { height: 1px; background: var(--border); margin: 20px 0; }

/* Account page sections */
.account-section { margin-bottom: 28px; }
.account-section h2 {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.7px;
  color: var(--text-muted); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}

.history-list { list-style: none; }
.history-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.history-item:last-child { border-bottom: none; }
.history-item a { color: var(--text); font-weight: 500; }
.history-item a:hover { color: var(--green); }
.history-time { color: var(--text-hint); font-size: 0.8rem; white-space: nowrap; }
