/* SwiftlyOrder — global public styles
   Imports tokens first. Covers: reset, nav, footer, buttons,
   forms, badges, alerts, utility classes.
   All icon usage: <i class="fa-solid fa-*"> via self-hosted FA 6.6 */
@import url('tokens.css');

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; transition: color var(--dur-base) var(--ease); }
a:hover { color: var(--blue-700); }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--sp-6);
}

.error-page-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--sp-6);
  height: 72.7vh;
}

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 var(--gray-200);
  transition: transform var(--dur-base) var(--ease);
}
/* Auto-hide on scroll down, reappear on scroll up (see main.js) */
.nav.nav-hidden {
  transform: translateY(-100%);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-6);
  height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-4);
}
.nav-brand {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--gray-900); font-family: var(--font-display);
  font-weight: 800; font-size: var(--text-lg); text-decoration: none;
}
.nav-brand img { width: 36px; height: 36px; border-radius: var(--r-md); }
.nav-brand:hover { color: var(--blue-600); }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-link {
  font-size: var(--text-sm); font-weight: 600; color: var(--gray-600);
  text-decoration: none; transition: color var(--dur-fast);
  position: relative; padding-bottom: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--blue-600); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--blue-600); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-hamburger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: none; border: none; color: var(--gray-700); cursor: pointer;
  transition: background var(--dur-fast);
}
.nav-hamburger:hover { background: var(--gray-100); }

/* Mobile drawer */
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw); background: var(--white);
  z-index: 500; display: flex; flex-direction: column;
  padding: var(--sp-6); gap: var(--sp-2);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease);
  box-shadow: var(--shadow-lg);
}
.nav-drawer[hidden] { display: none; }
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-link {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  font-size: var(--text-sm); font-weight: 600; color: var(--gray-700);
  text-decoration: none; transition: background var(--dur-fast);
}
.nav-drawer-link:hover, .nav-drawer-link.active {
  background: var(--blue-50); color: var(--blue-600);
}
.divider { border: none; border-top: 1px solid var(--gray-200); margin: var(--sp-3) 0; }
.nav-drawer-actions { display: flex; flex-direction: column; gap: var(--sp-3); }
.nav-drawer-greeting { font-size: var(--text-sm); color: var(--gray-600); padding: var(--sp-2) var(--sp-4); }
.nav-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  z-index: 499; backdrop-filter: blur(2px);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2); font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-sm); line-height: 1; border: 1.5px solid transparent;
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-5);
  cursor: pointer; text-decoration: none;
  transition: background var(--dur-fast), box-shadow var(--dur-fast),
              border-color var(--dur-fast), transform 80ms;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

.btn-primary {
  background: var(--blue-600); color: var(--white);
  border-color: var(--blue-600); box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }

.btn-accent {
  background: var(--amber-500); color: var(--white);
  border-color: var(--amber-500); box-shadow: var(--shadow-amber);
}
.btn-accent:hover { background: var(--amber-600); border-color: var(--amber-600); color: var(--white); }

.btn-outline {
  background: transparent; color: var(--blue-600); border-color: var(--blue-600);
}
.btn-outline:hover { background: var(--blue-50); color: var(--blue-600); }

.btn-ghost {
  background: transparent; color: var(--gray-700); border-color: var(--gray-300);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }

.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-text); color: var(--white); }

.btn-danger-outline {
  background: transparent; color: var(--danger-text); border-color: var(--danger);
}
.btn-danger-outline:hover { background: var(--danger-bg); }

.btn-sm  { padding: var(--sp-2) var(--sp-4); font-size: var(--text-xs); }
.btn-xs  { padding: 3px 10px; font-size: var(--text-xs); border-radius: var(--r-sm); }
.btn-lg  { padding: var(--sp-4) var(--sp-8); font-size: var(--text-md); border-radius: var(--r-lg); }
.btn-block { width: 100%; }

/* ── FORM ELEMENTS ────────────────────────────────────────── */
form { padding: var(--sp-8); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label { font-size: var(--text-sm); font-weight: 600; color: var(--gray-700); }
.form-required { color: var(--danger); margin-left: 2px; }

/* Breathing room above a submit button that follows a field group -
   without this, the button sits glued to the input above it. */
.form-group + .btn,
.form-row + .btn,
.form-checkbox-row + .btn { margin-top: var(--sp-4); }

.form-input, .form-select, .form-textarea {
  font-family: var(--font-body); font-size: var(--text-sm);
  color: var(--gray-900); background: var(--white);
  border: 1.5px solid var(--gray-300); border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4); outline: none; width: 100%;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(26,79,214,0.12);
}
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.10);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-textarea { resize: vertical; min-height: 88px; line-height: 1.6; }
.form-hint  { font-size: var(--text-xs); color: var(--gray-500); }
.form-error { font-size: var(--text-xs); color: var(--danger); font-weight: 600; }

.form-input-group {
  display: flex; border: 1.5px solid var(--gray-300);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-input-group:focus-within {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(26,79,214,0.12);
}
.form-input-group .form-input { border: none; border-radius: 0; box-shadow: none; flex: 1; }
.input-prefix, .input-suffix {
  display: flex; align-items: center; padding: 0 var(--sp-3);
  background: var(--gray-50); color: var(--gray-500);
  font-size: var(--text-sm); font-weight: 600; white-space: nowrap;
  border-right: 1.5px solid var(--gray-200);
}
.input-suffix { border-right: none; border-left: 1.5px solid var(--gray-200); }

/* ── ALERTS ──────────────────────────────────────────────── */
.alert {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  font-size: var(--text-sm); font-weight: 500; border: 1px solid transparent;
}
.alert svg, .alert i { flex-shrink: 0; margin-top: 2px; }
.alert-success { background: var(--success-bg); border-color: #86EFAC; color: var(--success-text); }
.alert-error   { background: var(--danger-bg);  border-color: #FCA5A5; color: var(--danger-text); animation: shake 0.4s var(--ease) both; }
.alert-warning { background: var(--warning-bg); border-color: #FCD34D; color: var(--warning-text); }
.alert-info    { background: var(--info-bg);    border-color: #7DD3FC; color: var(--info-text); }

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-3px); }
  80%  { transform: translateX(3px); }
}

/* ── FLASH (server-side session message) ─────────────────── */
.flash {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--r-lg);
  border: 1px solid transparent; font-size: var(--text-sm); font-weight: 500;
  animation: slideDown var(--dur-base) var(--ease) both;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.flash-success { background: var(--success-bg); border-color: #86EFAC; color: var(--success-text); }
.flash-error   { background: var(--danger-bg);  border-color: #FCA5A5; color: var(--danger-text); }
.flash-warning { background: var(--warning-bg); border-color: #FCD34D; color: var(--warning-text); }
.flash-info    { background: var(--info-bg);    border-color: #7DD3FC; color: var(--info-text); }
.flash i       { font-size: 15px; flex-shrink: 0; }
.flash-close   {
  margin-left: auto; padding: var(--sp-1); border-radius: var(--r-sm);
  opacity: 0.6; transition: opacity var(--dur-fast), background var(--dur-fast);
  font-size: 12px; color: inherit; cursor: pointer; background: none; border: none;
}
.flash-close:hover { opacity: 1; background: rgba(0,0,0,0.07); }

/* ── BADGE PILL ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: var(--text-xs); font-weight: 700;
  padding: 3px 9px; border-radius: var(--r-full);
}
.badge-blue    { background: var(--blue-50);    color: var(--blue-700); }
.badge-amber   { background: var(--amber-50);   color: var(--amber-600); }
.badge-green   { background: var(--success-bg); color: var(--success-text); }
.badge-red     { background: var(--danger-bg);  color: var(--danger-text); }
.badge-gray    { background: var(--gray-100);   color: var(--gray-600); }

/* ── CARD ────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--card-radius);
  box-shadow: var(--card-shadow); overflow: hidden;
}

/* ── SECTION HELPERS ─────────────────────────────────────── */
.section { padding: var(--sp-16) 0; }
.section-tag {
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blue-600); margin-bottom: var(--sp-3);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, var(--text-4xl));
  font-weight: 800; color: var(--gray-900); letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: var(--sp-4);
}
.section-sub { font-size: var(--text-lg); color: var(--gray-500); max-width: 560px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--gray-900); padding: var(--sp-12) 0 var(--sp-6);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8); margin-bottom: var(--sp-10);
}
.footer-brand {
  display: flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-xl); color: var(--white); text-decoration: none;
}
.footer-brand-name { color: var(--white); }
.footer-brand img { width: 32px; height: 32px; border-radius: var(--r-md); }
.footer-brand-tagline {
  font-size: var(--text-sm); color: var(--amber-400);
  font-weight: 600; margin-top: var(--sp-2);
}
.footer-brand-desc { font-size: var(--text-sm); color: rgba(255,255,255,0.50); margin-top: var(--sp-3); line-height: 1.6; max-width: 280px; }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer-social-link {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.60);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.footer-social-link:hover { background: var(--blue-600); color: var(--white); }
.footer-heading {
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.40); margin-bottom: var(--sp-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,0.55); transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--sp-5);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--text-xs); color: rgba(255,255,255,0.35);
}
.footer-bottom-credit { color: rgba(255,255,255,0.35); }
.footer-bottom-credit a { color: rgba(255,255,255,0.55); }
.footer-bottom-credit a:hover { color: var(--white); }

/* ── UTILITIES ───────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-muted   { color: var(--gray-500); font-size: var(--text-sm); }
.text-sm      { font-size: var(--text-sm); }
.text-xs      { font-size: var(--text-xs); }
.text-danger  { color: var(--danger); }
.text-success { color: var(--success); }
.font-mono    { font-family: var(--font-mono); }
.font-bold    { font-weight: 700; }
.hidden       { display: none !important; }
.mb-4         { margin-bottom: var(--sp-4); }
.mb-6         { margin-bottom: var(--sp-6); }
.mt-4         { margin-top: var(--sp-4); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── NOTIFICATION PANEL ──────────────────────────────────── */
/* Items rendered into #notif-list by notifications.js       */
#notif-list {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}
#notif-list::-webkit-scrollbar { width: 4px; }
#notif-list::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: var(--r-full); }

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--dur-fast);
  position: relative;
  text-decoration: none;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--gray-50); }
.notif-item:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: -2px;
}
.notif-item.unread { background: var(--blue-50); }
.notif-item.unread:hover { background: #E0EAFC; }

.notif-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.notif-item.unread .notif-item-icon {
  background: var(--blue-100);
  color: var(--blue-600);
}

.notif-item-body { flex: 1; min-width: 0; }

.notif-item-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  margin: 0;
}
.notif-item.unread .notif-item-text { color: var(--gray-900); }

.notif-item-body-text {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin: 2px 0 0;
  line-height: 1.5;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notif-item-time {
  display: block;
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: var(--sp-1);
}

/* Unread indicator dot (top-right of item) */
.notif-unread-dot {
  position: absolute;
  top: 50%;
  right: var(--sp-4);
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
  flex-shrink: 0;
}

/* Loading spinner */
.notif-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-8) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--gray-400);
}
.notif-loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: notifSpin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes notifSpin {
  to { transform: rotate(360deg); }
}

/* Empty state (also used in dashboard.css for .notif-empty — keep both) */
.notif-empty {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--gray-400);
}

/* ─────────────────────────────────────────────────────────
   TOPBAR DROPDOWNS  (.tb-dropdown)
───────────────────────────────────────────────────────── */
.topbar-action { position: relative; }

.tb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  max-width: min(340px, 92vw);    /* never overflow viewport */
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  overflow: hidden;
  animation: dropIn var(--dur-base) var(--ease) both;
}
.tb-dropdown.open { display: block; }

/* Avatar / rightmost — anchor to right edge */
.tb-dropdown-right { left: auto; right: 0; }

/* Notification panel — wide, right-anchored so it never overflows */
.tb-dropdown-wide {
  min-width: 300px;
  left: auto;
  right: 0;
}

/* Role panel — left-anchored */
#role-panel { left: 0; right: auto; }

/* Notification list scroll */
#notif-list {
  max-height: 320px;
  overflow-y: auto;
}

/* Notification empty state */
.notif-empty {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--gray-400);
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── UPLOAD ZONE (also used on onboarding pages) ─────────── */
.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  text-align: center;
}
.upload-zone:hover   { border-color: var(--blue-600); background: var(--blue-50); }
.upload-icon {
  width: 48px; height: 48px;
  background: var(--gray-100);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--gray-400);
}
.upload-label { font-size: var(--text-sm); font-weight: 600; color: var(--gray-700); }
.upload-hint  { font-size: var(--text-xs); color: var(--gray-400); }

@media (max-width: 520px) {
  .tb-dropdown      { left: auto; right: 0; min-width: 200px; }
  .tb-dropdown-wide { min-width: 260px; }
  #role-panel       { left: auto; right: 0; }
}

/* ── STATUS CARD (invite landing / public event check-in) ─── */
.status-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8) var(--sp-4);
  background: var(--gray-100);
}
.status-card {
  max-width: 420px;
  width: 100%;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}
.status-card--narrow { max-width: 380px; }

.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}
.status-icon i { font-size: 22px; }
.status-icon--neutral { background: var(--gray-200); }
.status-icon--neutral i { color: var(--gray-500); }
.status-icon--success { background: var(--emerald-100); }
.status-icon--success i { color: var(--emerald-700); }
.status-icon--warning { background: var(--warning-bg); }
.status-icon--warning i { color: var(--warning-text); }
.status-icon--brand { background: var(--emerald-600); }
.status-icon--brand i { color: var(--white); }
.status-icon--xl i { font-size: 26px; }

.status-eyebrow {
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--emerald-700);
  font-weight: 700;
  margin: 0 0 4px;
}
.status-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}
.status-title--lg { font-size: 22px; margin-bottom: 4px; color: var(--gray-900); }
.status-text {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0 0 20px;
}
.status-text--sm { font-size: 13px; margin-bottom: var(--sp-6); }
.status-text--tight { margin-bottom: 4px; }

.status-actions { display: flex; gap: 10px; }
.status-actions .btn { flex: 1; justify-content: center; }
.status-submit { width: 100%; justify-content: center; }

.status-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--emerald-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}
.status-success-icon i { color: var(--emerald-700); font-size: 32px; }
.status-success-title { font-weight: 700; font-size: 16px; color: var(--gray-900); margin: 0 0 4px; }
.status-success-text { font-size: 13px; color: var(--gray-500); margin: 0; }

/* Left-aligned form fields inside an otherwise centered status card */
.status-card .form-group--left { text-align: left; }
.status-error-text {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--danger);
  margin-top: var(--sp-3);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn:not(:last-child) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--sp-2); text-align: center; }
  .btn-lg { padding: var(--sp-3) var(--sp-6); font-size: var(--text-sm); }
}
