@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Poppins:wght@400;500;600;700;900&family=Open+Sans:wght@400;500;600&display=swap');
/* ═══════════════════════════════════════════════════════════════
   GSV Store — account.css
   Customer account dashboard for Grand Strand Visuals
   Dark theme — steel-blue accent, NO green elements
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:             #F7F8FA;
  --surface:        #FFFFFF;
  --surface-2:      #EEF1F5;
  --accent:         #6888A8;
  --accent-h:       #4A6A8F;
  --accent-dim:     rgba(104, 136, 168, 0.12);
  --accent-dim2:    rgba(104, 136, 168, 0.06);
  --accent-border:  rgba(104, 136, 168, 0.25);
  --text:           #0F1B2D;
  --text-muted:     #3F4A5C;
  --text-faint:     #6B7684;
  --border:         rgba(15, 27, 45, 0.10);
  --border-h:       rgba(15, 27, 45, 0.18);
  --sidebar-w:      230px;
  --transition:     0.2s ease;
  --radius:         4px;

  /* Status colors — preserved */
  --s-pending:    #f59e0b;
  --s-approved:   #6888A8;
  --s-paid:       #22c55e;
  --s-rejected:   #ef4444;
  --s-processing: #6B7684;
  --s-shipped:    #a78bfa;
  --s-delivered:  #22c55e;
  --s-outstanding:#f59e0b;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-h); }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

input, textarea, select {
  font-family: 'Inter', sans-serif;
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(15, 27, 45, 0.12); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #0F1B2D;
  border: none;
  border-radius: var(--radius);
  padding: 11px 26px;
  cursor: pointer;
  transition: background var(--transition);
  width: 100%;
  text-align: center;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-h); color: #0F1B2D; }
.btn-primary:disabled {
  background: rgba(104, 136, 168,0.35);
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 10px 22px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-h);
}

.btn-danger {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--s-rejected);
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: var(--radius);
  padding: 10px 22px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-danger:hover {
  background: rgba(239,68,68,0.1);
  border-color: var(--s-rejected);
}

.btn-approve {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #0F1B2D;
  border: none;
  border-radius: var(--radius);
  padding: 8px 18px;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-approve:hover { background: var(--accent-h); }

.btn-reject {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--s-rejected);
  border: 1px solid rgba(239,68,68,0.35);
  border-radius: var(--radius);
  padding: 8px 18px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-reject:hover {
  background: rgba(239,68,68,0.1);
  border-color: var(--s-rejected);
}

.btn-pay {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #0F1B2D;
  border: none;
  border-radius: var(--radius);
  padding: 8px 18px;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-pay:hover { background: var(--accent-h); }
.btn-pay:disabled { background: rgba(104, 136, 168,0.35); cursor: not-allowed; }

/* ── Forms ────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  background: var(--surface-2);
  border: 1px solid rgba(15, 27, 45, 0.12);
  color: var(--text);
  padding: 10px 13px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(104, 136, 168,0.15);
}
.form-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-hint {
  font-size: 12px;
  color: var(--text-faint);
}

.req { color: #ef4444; }
.opt { color: var(--text-faint); }


/* ══════════════════════════════════════════════════════════════
   SCREEN MANAGEMENT
══════════════════════════════════════════════════════════════ */
.screen {
  display: none;
}
.screen.active {
  display: block;
  animation: fadeUp 0.28s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════════════════════════
   PAGE LOADER
══════════════════════════════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 16px;
  transition: opacity 0.4s ease;
}
.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-mark { margin-bottom: 4px; }

.loader-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}


/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  min-width: 260px;
  max-width: 360px;
  pointer-events: all;
  animation: toastIn 0.25s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.toast.toast-success { border-left-color: var(--s-paid); }
.toast.toast-error   { border-left-color: var(--s-rejected); }
.toast.toast-info    { border-left-color: var(--accent); }
.toast.toast-warning { border-left-color: var(--s-pending); }

.toast-out {
  animation: toastOut 0.25s ease forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateX(20px); }
}

.toast-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.toast-msg { flex: 1; line-height: 1.4; }


/* ══════════════════════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 7000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.lightbox.active { display: flex; }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.lightbox-close:hover { color: var(--text); border-color: var(--border-h); }

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-caption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
}


/* ══════════════════════════════════════════════════════════════
   AUTH SCREEN
══════════════════════════════════════════════════════════════ */
#screen-auth.active {
  display: flex;
  min-height: 100vh;
}

.auth-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  min-height: 100vh;
  background: var(--bg);
}

.auth-back-link {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 20px;
  align-self: flex-start;
  margin-left: calc(50% - 220px);
  transition: color 0.15s;
}
.auth-back-link:hover { color: #0F1B2D; }

.auth-box {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.auth-header {
  padding: 32px 36px 0;
  text-align: center;
}

.auth-logo-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.auth-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.auth-brand {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.auth-title {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-top: 28px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: -1px;
}
.auth-tab:hover { color: var(--text-muted); }
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.auth-form {
  padding: 28px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-form.hidden { display: none; }

.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-forgot {
  text-align: right;
  font-size: 12px;
  color: var(--text-faint);
  transition: color var(--transition);
}
.auth-forgot:hover { color: var(--accent); }

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--accent-dim2);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
}

.auth-terms-check {
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.auth-terms-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.auth-alert {
  padding: 11px 13px;
  font-size: 13px;
  border-left: 3px solid;
  border-radius: var(--radius);
  display: none;
  line-height: 1.5;
}
.auth-alert.visible { display: block; }
.auth-alert.error   { background: rgba(239,68,68,0.08); border-color: var(--s-rejected); color: var(--s-rejected); }
.auth-alert.success { background: rgba(34,197,94,0.08); border-color: var(--s-paid); color: var(--s-paid); }
.auth-alert.info    { background: var(--accent-dim2); border-color: var(--accent); color: var(--accent-h); }

.auth-switch-text {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
}
.auth-switch-text a { color: var(--accent); }


/* ══════════════════════════════════════════════════════════════
   SUCCESS SCREEN
══════════════════════════════════════════════════════════════ */
#screen-success.active {
  display: flex;
  min-height: 100vh;
}

.success-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  text-align: center;
  min-height: 100vh;
}

.success-icon {
  width: 84px;
  height: 84px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--accent);
  animation: successPulse 2s ease infinite;
}

@keyframes successPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(104, 136, 168,0.35); }
  50%       { box-shadow: 0 0 0 14px rgba(104, 136, 168,0); }
}

.success-title {
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.success-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 32px;
}

.success-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.success-countdown {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-faint);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
}


/* ══════════════════════════════════════════════════════════════
   DASHBOARD LAYOUT
══════════════════════════════════════════════════════════════ */
#screen-dashboard.active {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  z-index: 200;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sidebar-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 2px;
}

.sidebar-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.sidebar-close-btn {
  display: none;
  color: var(--text-faint);
  padding: 4px;
  transition: color var(--transition);
}
.sidebar-close-btn:hover { color: var(--text); }

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  overflow: hidden;
}
.avatar-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.avatar-initials-hidden {
  display: none;
}

.sidebar-user-info { min-width: 0; }

.sidebar-name {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-email {
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav {
  flex: 1;
  padding: 10px 0;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-left: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}
.sidebar-nav-item:hover {
  color: var(--text);
  background: rgba(15, 27, 45, 0.036);
}
.sidebar-nav-item.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-dim2);
}
.sidebar-nav-item svg { opacity: 0.6; flex-shrink: 0; }
.sidebar-nav-item.active svg { opacity: 1; }

.nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #0F1B2D;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  display: none;
  letter-spacing: 0;
  text-transform: none;
}
.nav-badge.visible { display: inline-block; }

.sidebar-bottom {
  border-top: 1px solid var(--border);
  padding: 4px 0;
}

.sidebar-signout {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  width: 100%;
  text-align: left;
  transition: all var(--transition);
}
.sidebar-signout:hover {
  color: var(--s-rejected);
  background: rgba(239,68,68,0.06);
}
.sidebar-signout svg { opacity: 0.6; flex-shrink: 0; }
.sidebar-signout:hover svg { opacity: 1; }

/* ── Dashboard Body ───────────────────────────────────────────── */
.dashboard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.mobile-topbar {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 150;
}

.hamburger-btn {
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition);
  flex-shrink: 0;
}
.hamburger-btn:hover { color: var(--text); }

.mobile-panel-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  flex: 1;
}

.mobile-avatar {
  width: 30px;
  height: 30px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 190;
}

.dashboard-main {
  flex: 1;
  padding: 36px 40px;
  overflow-y: auto;
}

/* ── Panel ────────────────────────────────────────────────────── */
.panel {
  display: none;
  max-width: 900px;
}
.panel.active {
  display: block;
  animation: fadeUp 0.22s ease;
}

.panel-head {
  margin-bottom: 28px;
}

.panel-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.panel-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}


/* ══════════════════════════════════════════════════════════════
   SKELETON LOADERS
══════════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(15, 27, 45, 0.06) 25%,
    rgba(15, 27, 45, 0.12) 50%,
    rgba(15, 27, 45, 0.06) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
  display: block;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-card-tall {
  height: 100px;
  background: linear-gradient(
    90deg,
    rgba(15, 27, 45, 0.048) 25%,
    rgba(15, 27, 45, 0.10) 50%,
    rgba(15, 27, 45, 0.048) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}


/* ══════════════════════════════════════════════════════════════
   STATUS BADGES
══════════════════════════════════════════════════════════════ */
.status-badge {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.status-badge.pending, .status-badge.pending_review {
  background: rgba(245,158,11,0.12);
  color: var(--s-pending);
  border: 1px solid rgba(245,158,11,0.25);
}
.status-badge.quoted {
  background: rgba(104, 136, 168,0.12);
  color: var(--accent-h);
  border: 1px solid var(--accent-border);
}
.status-badge.approved {
  background: rgba(104, 136, 168,0.12);
  color: var(--s-approved);
  border: 1px solid var(--accent-border);
}
.status-badge.rejected {
  background: rgba(239,68,68,0.1);
  color: var(--s-rejected);
  border: 1px solid rgba(239,68,68,0.25);
}
.status-badge.processing {
  background: rgba(136,136,136,0.12);
  color: var(--s-processing);
  border: 1px solid rgba(136,136,136,0.2);
}
.status-badge.shipped {
  background: rgba(167,139,250,0.1);
  color: var(--s-shipped);
  border: 1px solid rgba(167,139,250,0.25);
}
.status-badge.delivered {
  background: rgba(34,197,94,0.1);
  color: var(--s-delivered);
  border: 1px solid rgba(34,197,94,0.2);
}
.status-badge.paid {
  background: rgba(34,197,94,0.1);
  color: var(--s-paid);
  border: 1px solid rgba(34,197,94,0.2);
}
.status-badge.outstanding {
  background: rgba(245,158,11,0.12);
  color: var(--s-outstanding);
  border: 1px solid rgba(245,158,11,0.25);
}
.status-badge.in_production, .status-badge.in-production {
  background: rgba(104, 136, 168,0.12);
  color: var(--accent-h);
  border: 1px solid var(--accent-border);
}


/* ══════════════════════════════════════════════════════════════
   EMPTY STATES
══════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: var(--radius);
  color: var(--text-faint);
}

.empty-state-title {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}


/* ══════════════════════════════════════════════════════════════
   OVERVIEW PANEL
══════════════════════════════════════════════════════════════ */
.overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color var(--transition);
}
.stat-card:hover { border-color: var(--border-h); }

.stat-card-value {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1;
}

.stat-card-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-card-accent { color: var(--accent); }

.overview-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.overview-action-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.overview-action-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-2);
}

.overview-action-icon {
  color: var(--accent);
  margin-bottom: 14px;
  opacity: 0.8;
}

.overview-action-label {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}

.overview-action-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.overview-action-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--accent);
  font-size: 18px;
  opacity: 0;
  transition: opacity var(--transition);
}
.overview-action-card:hover .overview-action-arrow { opacity: 1; }


/* ══════════════════════════════════════════════════════════════
   QUOTES PANEL
══════════════════════════════════════════════════════════════ */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.quote-card:hover { border-color: var(--border-h); }

.quote-card-body {
  padding: 18px 20px;
}

.quote-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.quote-product {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 3px;
}

.quote-date {
  font-size: 12px;
  color: var(--text-faint);
}

.quote-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.quote-meta-item {}

.quote-meta-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}

.quote-meta-value {
  font-size: 13px;
  color: var(--text-muted);
}

.quote-price {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.quote-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Reject reason inline form */
.quote-reject-form {
  display: none;
  margin-top: 14px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius);
}
.quote-reject-form.visible { display: block; }

.quote-reject-form .form-group {
  margin-bottom: 12px;
}

.quote-reject-btns {
  display: flex;
  gap: 10px;
}


/* ══════════════════════════════════════════════════════════════
   INVOICES PANEL
══════════════════════════════════════════════════════════════ */
.invoices-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.inv-summary-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inv-summary-value {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.inv-summary-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.inv-summary-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.invoice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--transition);
}
.invoice-card:hover { border-color: var(--border-h); }

.invoice-card-info { flex: 1; min-width: 0; }

.invoice-desc {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 500;
}

.invoice-meta {
  font-size: 12px;
  color: var(--text-faint);
}

.invoice-id {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.invoice-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.invoice-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.paid-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--s-paid);
  padding: 5px 10px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
}


/* ══════════════════════════════════════════════════════════════
   ORDERS PANEL — Status Tracker
══════════════════════════════════════════════════════════════ */
.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.order-card:hover { border-color: var(--border-h); }

.order-card-header {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}

.order-number {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.order-date {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 2px;
}

.order-total {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.order-expand-icon {
  color: var(--text-faint);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.order-card.expanded .order-expand-icon { transform: rotate(180deg); }

/* Status Tracker Bar */
.order-tracker {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.tracker-steps {
  display: flex;
  align-items: center;
  position: relative;
}

.tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.tracker-step-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 8px;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.tracker-step.done .tracker-step-dot {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}
.tracker-step.active .tracker-step-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #0F1B2D;
  box-shadow: 0 0 0 3px rgba(104, 136, 168,0.2);
}

.tracker-step-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  white-space: nowrap;
}
.tracker-step.done  .tracker-step-label { color: var(--accent); }
.tracker-step.active .tracker-step-label { color: var(--text); }

.tracker-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.tracker-line.done {
  background: var(--accent);
}

/* Order Detail (expanded) */
.order-detail {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.order-card.expanded .order-detail { display: block; }

.order-detail-inner { padding: 20px; }

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.order-items-table th {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: left;
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--border);
}
.order-items-table td {
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.order-items-table tr:last-child td { border-bottom: none; }
.order-items-table .item-name { color: var(--text); font-weight: 500; }
.order-items-table .item-meta { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

.order-detail-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.order-total-line {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.order-total-label {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 12px;
}


/* ══════════════════════════════════════════════════════════════
   IMAGE ZONE PANEL
══════════════════════════════════════════════════════════════ */
.imagezone-toolbar {
  margin-bottom: 20px;
}

.imagezone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.iz-file-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
  cursor: pointer;
}
.iz-file-card:hover { border-color: var(--accent-border); }

.iz-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}

.iz-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}

.iz-file-info {
  padding: 10px 12px;
}

.iz-filename {
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.iz-filemeta {
  font-size: 11px;
  color: var(--text-faint);
}


/* ══════════════════════════════════════════════════════════════
   MY ACCOUNT PANEL
══════════════════════════════════════════════════════════════ */
.account-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.account-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
}

.account-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.account-section-body { padding: 22px; }

.account-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.account-info-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.account-info-value { font-size: 14px; color: var(--text); }
.account-info-value.muted { color: var(--text-muted); }

.account-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.account-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.account-alert {
  padding: 11px 13px;
  font-size: 13px;
  border-left: 3px solid;
  border-radius: var(--radius);
  display: none;
  margin-bottom: 4px;
}
.account-alert.visible { display: block; }
.account-alert.error   { background: rgba(239,68,68,0.08); border-color: var(--s-rejected); color: var(--s-rejected); }
.account-alert.success { background: rgba(34,197,94,0.08); border-color: var(--s-paid); color: var(--s-paid); }


/* ══════════════════════════════════════════════════════════════
   TERMS (shared with terms.html)
══════════════════════════════════════════════════════════════ */
.terms-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}
.terms-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.terms-title {
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.terms-effective {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.terms-section { margin-bottom: 34px; }
.terms-section-num {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.terms-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}
.terms-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.terms-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 40px;
  transition: color var(--transition);
}
.terms-back:hover { color: var(--accent); }
.terms-address {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  border-radius: var(--radius);
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Sidebar becomes off-canvas drawer */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    width: 260px;
    min-width: 260px;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar-close-btn { display: flex; }
  .sidebar-overlay.visible { display: block; }

  .dashboard-body { flex: 1; }
  .mobile-topbar { display: flex; }

  .dashboard-main { padding: 20px 16px; }

  /* Panels full width */
  .panel { max-width: 100%; }

  /* Overview stats */
  .overview-stats { grid-template-columns: 1fr 1fr; }
  .overview-actions { grid-template-columns: 1fr; }

  /* Auth */
  .auth-form  { padding: 22px 20px 28px; }
  .auth-header { padding: 24px 20px 0; }
  .auth-row   { grid-template-columns: 1fr; }
  .auth-box   { max-width: 100%; }

  /* Quotes */
  .quote-meta-grid { grid-template-columns: 1fr 1fr; }

  /* Invoices */
  .invoices-summary { flex-wrap: wrap; gap: 16px; }
  .invoice-card { flex-wrap: wrap; gap: 12px; }

  /* Orders */
  .order-card-header { grid-template-columns: 1fr auto; }
  .order-tracker { overflow-x: auto; }
  .tracker-steps { min-width: 360px; }
  .tracker-step-label { font-size: 9px; }

  /* Image zone */
  .imagezone-grid { grid-template-columns: repeat(2, 1fr); }

  /* Account */
  .account-info-grid { grid-template-columns: 1fr; }
  .account-form-row  { grid-template-columns: 1fr; }

  /* Terms */
  .terms-wrapper { padding: 28px 16px 60px; }
  .terms-title   { font-size: 24px; }

  /* Success */
  .success-actions { flex-direction: column; align-items: center; }
  .success-actions .btn-primary,
  .success-actions .btn-secondary { width: 260px; }

  /* Toast */
  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .toast { min-width: unset; }
}

@media (max-width: 480px) {
  .overview-stats     { grid-template-columns: 1fr; }
  .imagezone-grid     { grid-template-columns: 1fr; }
  .quote-meta-grid    { grid-template-columns: 1fr; }
  .order-card-header  { grid-template-columns: 1fr; row-gap: 10px; }
}

/* Wordmark image — matches homepage header (terms.html etc.) */
.nav-logo-wordmark-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 900px) {
  .nav-logo-wordmark-img { height: 32px; }
}
@media (max-width: 640px) {
  .nav-logo-wordmark-img { height: 26px; }
}

/* ══════════════════════════════════════════════════════════════
   DESIGN PROOFS PANEL
   ══════════════════════════════════════════════════════════════ */

.proofs-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.proof-filter-chip {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}
.proof-filter-chip:hover {
  border-color: var(--accent-border);
  color: var(--text);
}
.proof-filter-chip.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--text);
}

.proofs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
}
.proof-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 2px 8px rgba(15, 27, 45, 0.06);
  transform: translateY(-1px);
}

.proof-card-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--accent-dim2), var(--surface-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.proof-card-thumb svg { opacity: 0.5; }
.proof-card-version {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 27, 45, 0.85);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius);
}

.proof-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.proof-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}
.proof-card-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-faint);
}
.proof-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}

.proof-status-badge {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius);
  border: 1px solid;
}
.proof-status-badge.sent {
  background: rgba(245, 158, 11, 0.1);
  color: #B45309;
  border-color: rgba(245, 158, 11, 0.35);
}
.proof-status-badge.approved {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
}
.proof-status-badge.changes_requested {
  background: rgba(239, 68, 68, 0.1);
  color: #B91C1C;
  border-color: rgba(239, 68, 68, 0.35);
}
.proof-status-badge.finalized {
  background: rgba(104, 136, 168, 0.15);
  color: #4A6A8F;
  border-color: rgba(104, 136, 168, 0.4);
}
.proof-status-badge.draft {
  background: var(--surface-2);
  color: var(--text-faint);
  border-color: var(--border);
}

.proof-card-updated {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-faint);
}

/* ── Proof Modal ─────────────────────────────────────────── */
.proof-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.proof-modal.open { display: flex; }

.proof-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 45, 0.55);
  backdrop-filter: blur(2px);
}

.proof-modal-panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  width: min(1200px, 96vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 27, 45, 0.3);
}

.proof-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.proof-modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}
.proof-modal-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 3px;
}
.proof-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-faint);
  cursor: pointer;
  padding: 0;
  margin-top: -2px;
  transition: color 0.15s;
}
.proof-modal-close:hover { color: var(--text); }

.proof-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.proof-viewer {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-right: 1px solid var(--border);
  min-width: 0;
}
.proof-viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.proof-version-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.proof-viewer-actions { display: flex; gap: 8px; }
.btn-ghost-sm {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-block;
}
.btn-ghost-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.proof-viewer-frame {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #2a2a2a;
}
.proof-viewer-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.proof-sidebar {
  overflow-y: auto;
  padding: 20px 22px;
  background: var(--surface);
}
.proof-meta-block {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.proof-meta-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.proof-meta-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.proof-meta-value {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.proof-version-item, .proof-history-item {
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
}
.proof-version-item.active {
  background: var(--accent-dim);
  border-color: var(--accent-border);
}
.proof-version-item strong, .proof-history-item strong {
  color: var(--text);
  font-weight: 600;
}
.proof-history-item-meta {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 2px;
}

.proof-actions {
  margin-top: 8px;
}

.btn-approve {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 16px;
  background: #047857;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-approve:hover { background: #036048; }
.btn-approve:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-request-changes {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 16px;
  background: var(--surface);
  color: #B91C1C;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-request-changes:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: #B91C1C;
}
.btn-request-changes:disabled { opacity: 0.5; cursor: not-allowed; }

/* Empty state */
.proofs-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.proofs-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--text-faint);
  opacity: 0.5;
}
.proofs-empty-title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.proofs-empty-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-faint);
}

/* Mobile: stack modal */
@media (max-width: 900px) {
  .proof-modal-panel {
    width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .proof-modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 50vh) 1fr;
    overflow-y: auto;
  }
  .proof-viewer {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .proof-sidebar { padding: 16px; }
  .proofs-grid {
    grid-template-columns: 1fr;
  }
}
