:root {
  --acct-accent: #91ad00;
  --acct-accent-dark: #748a00;
  --acct-navy: #0a1420;
}

/* ============ Split-screen auth layout ============ */
.auth-page {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: calc(100vh - 76px);
}

.auth-hero {
  position: relative;
  background: linear-gradient(to right, rgba(10, 20, 32, 0.92) 0%, rgba(10, 20, 32, 0.86) 55%, rgba(10, 20, 32, 0.55) 100%),
    url(/static/vendor/wp-content/uploads/2026/08/WhatsApp-Image-2026-08-12-at-1.00.46-PM.jpeg) no-repeat center center / cover;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 60px 56px;
}
.auth-hero-inner { max-width: 460px; }
.auth-hero-tagline {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--acct-accent);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.auth-hero h2 {
  font-size: 2.1rem;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 16px;
  color: #ffffff;
}
.auth-hero p.auth-hero-desc {
  color: #cbd5df;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 32px;
}
.auth-hero-features { display: flex; flex-direction: column; gap: 18px; }
.auth-hero-feature { display: flex; align-items: flex-start; gap: 14px; }
.auth-hero-feature .icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(145, 173, 0, 0.16);
  border: 1px solid rgba(145, 173, 0, 0.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.auth-hero-feature strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.auth-hero-feature span.desc { color: #9fb0c2; font-size: 0.82rem; }

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8f6;
  padding: 40px 24px;
}

.account-card-wrap { max-width: 400px; width: 100%; }
.account-card { background: transparent; padding: 0; }
.account-card .mobile-brand { display: none; }
.account-card h1 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0a1128;
}
.account-card .account-subtitle {
  color: #6b7280;
  font-size: 0.92rem;
  margin: 0 0 28px;
}
.account-field { margin-bottom: 16px; }
.account-field label {
  display: block;
  font-weight: 650;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #0a1128;
}
.account-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d9dfe0;
  border-radius: 9px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.account-field input:focus {
  outline: none;
  border-color: var(--acct-accent);
  box-shadow: 0 0 0 3px rgba(145, 173, 0, 0.18);
}
.account-error {
  display: flex; align-items: center; gap: 8px;
  background: #fdecea;
  color: #b3261e;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.account-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 999px;
  background: var(--acct-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.account-btn:hover { background: var(--acct-accent-dark); }
.account-btn:active { transform: translateY(1px); }
.account-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 0.88rem;
  color: #6b7280;
}
.account-switch a { color: var(--acct-accent-dark); font-weight: 700; }
.account-switch a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .auth-page { grid-template-columns: 1fr; min-height: auto; }
  .auth-hero { display: none; }
  .account-card .mobile-brand {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a1128;
    margin-bottom: 22px;
  }
  .account-card .mobile-brand span { color: var(--acct-accent); }
  .auth-form-panel { padding: 48px 20px; }
}

/* ============ Dashboard ============ */
.dashboard-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(to right, rgba(10, 20, 32, 0.93) 0%, rgba(10, 20, 32, 0.82) 60%, rgba(10, 20, 32, 0.55) 100%),
    url(/static/vendor/wp-content/uploads/2026/08/WhatsApp-Image-2026-08-12-at-1.00.46-PM.jpeg) no-repeat center center / cover;
  color: #fff;
  padding: 44px 20px 34px;
}
.dashboard-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.dashboard-hero-tagline {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--acct-accent);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.dashboard-hero h1 { font-size: 1.7rem; font-weight: 800; margin: 0 0 6px; color: #ffffff; }
.dashboard-hero p { color: #b7c0d4; margin: 0; font-size: 0.92rem; }
.dashboard-signout {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease;
}
.dashboard-signout:hover { background: rgba(255,255,255,0.2); }

.dashboard-stats {
  display: flex;
  gap: 14px;
  max-width: 1100px;
  margin: -26px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.dashboard-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(10,20,32,0.1);
  flex: 1;
  min-width: 140px;
}
.dashboard-stat-card .num { font-size: 1.5rem; font-weight: 800; color: #0a1128; }
.dashboard-stat-card .label { font-size: 0.76rem; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; }

.dashboard-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 90px;
  min-height: 30vh;
}
.dashboard-section { margin-bottom: 32px; }
.dashboard-section h2 {
  font-size: 1.05rem;
  font-weight: 750;
  color: #0a1128;
  margin: 0 0 14px;
}
.order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.order-card {
  background: #fff;
  border: 1px solid #e8ece8;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(10,20,32,0.05);
}
.order-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 10px; }
.order-card .order-id { font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 0.85rem; color: #0a1128; }
.order-card .order-type { color: #6b7280; font-size: 0.82rem; margin-top: 2px; }
.order-route { font-size: 0.85rem; color: #374151; margin-bottom: 10px; line-height: 1.5; }
.order-route strong { color: #0a1128; }
.order-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #6b7280; border-top: 1px dashed #e5e7eb; padding-top: 10px; margin-top: 8px; }
.order-meta a { color: var(--acct-accent-dark); font-weight: 700; }

.order-progress { margin: 4px 0 12px; }
.order-progress-bar {
  height: 6px;
  background: #eef1ee;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.order-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--acct-accent), #b7d332);
  border-radius: 999px;
}
.order-progress-label { font-size: 0.75rem; color: #6b7280; font-weight: 600; }

.order-assigned {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.82rem;
  color: #0a1128;
  background: #f6f8f6;
  border-radius: 9px;
  padding: 9px 12px;
  margin-bottom: 10px;
}
.order-assigned span { display: flex; align-items: center; gap: 5px; }
.order-assigned strong { font-weight: 700; }

.order-price { font-size: 0.85rem; color: #0a1128; margin-bottom: 10px; }
.order-price strong { color: var(--acct-accent-dark); }

.acct-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px 4px 8px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; white-space: nowrap;
}
.acct-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.acct-amber { background: #fef3c7; color: #b45309; }
.acct-blue { background: #dbeafe; color: #1d4ed8; }
.acct-indigo { background: #ede9fe; color: #6d28d9; }
.acct-green { background: #dcfce7; color: #15803d; }

.empty-orders {
  background: #fff;
  border: 1px dashed #d9dfe0;
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}
.empty-orders a { color: var(--acct-accent-dark); font-weight: 700; }

@media (max-width: 700px) {
  .dashboard-hero-inner { align-items: flex-start; flex-direction: column; }
  .dashboard-stats { margin-top: 16px; }
}
