:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --emerald-50: #ecfdf5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--slate-50);
  color: var(--slate-900);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

.w-full { width: 100%; }
.min-w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.min-h-screen { min-height: 100vh; }
.h-screen { height: 100vh; }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.04em; }

.text-slate-900 { color: var(--slate-900); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-400 { color: var(--slate-400); }
.text-emerald-700 { color: var(--emerald-600); }
.text-rose-600 { color: var(--rose-600); }
.text-white { color: var(--white); }

.bg-white { background: var(--white); }
.bg-slate-50 { background: var(--slate-50); }
.bg-slate-100 { background: var(--slate-100); }
.bg-slate-900 { background: var(--slate-900); color: var(--white); }
.bg-emerald-50 { background: var(--emerald-50); }
.bg-rose-50 { background: var(--rose-50); }

.border { border: 1px solid var(--slate-200); }
.border-b { border-bottom: 1px solid var(--slate-200); }
.border-t { border-top: 1px solid var(--slate-200); }
.border-r { border-right: 1px solid var(--slate-200); }
.border-l { border-left: 1px solid var(--slate-200); }
.border-dashed { border-style: dashed; }
.border-slate-200 { border-color: var(--slate-200); }
.border-slate-900 { border-color: var(--slate-900); }
.border-emerald-200 { border-color: var(--emerald-200); }
.border-rose-200 { border-color: var(--rose-200); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 999px; }

.shadow-sm { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08); }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--slate-200); }
.table thead th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-500); background: var(--slate-100); }

.badge { display: inline-flex; align-items: center; border: 1px solid var(--slate-200); border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.75rem; color: var(--slate-600); background: var(--slate-100); }

.notice-success { background: var(--emerald-50); border: 1px solid var(--emerald-200); color: var(--emerald-600); padding: 0.5rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; }
.notice-error { background: var(--rose-50); border: 1px solid var(--rose-200); color: var(--rose-600); padding: 0.5rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; }

.modal-backdrop { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(15, 23, 42, 0.6); padding: 1rem; z-index: 50; }
.modal-backdrop.active { display: flex; }
.modal { background: var(--white); border-radius: 1rem; width: 100%; max-width: 48rem; overflow: hidden; }
.modal-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--slate-200); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 1.5rem; background: var(--slate-50); max-height: 70vh; overflow: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; border-radius: 0.5rem; padding: 0.6rem 1rem; font-weight: 600; border: 1px solid var(--slate-200); background: var(--white); color: var(--slate-700); cursor: pointer; }
.btn-primary { background: var(--slate-900); color: var(--white); border-color: var(--slate-900); }
.btn-emerald { background: var(--emerald-600); color: var(--white); border-color: var(--emerald-600); }
.btn-rose { background: var(--rose-600); color: var(--white); border-color: var(--rose-600); }

.input { width: 100%; border: 1px solid var(--slate-200); border-radius: 0.5rem; padding: 0.5rem 0.7rem; background: var(--white); }

.hover\:bg-slate-800:hover { background: var(--slate-800); color: var(--white); }
.hover\:bg-slate-900:hover { background: var(--slate-900); color: var(--white); }
.hover\:bg-emerald-500:hover { background: var(--emerald-500); color: var(--white); }
.hover\:bg-rose-500:hover { background: var(--rose-500); color: var(--white); }
.hover\:text-slate-900:hover { color: var(--slate-900); }
.hover\:text-slate-700:hover { color: var(--slate-700); }
.hover\:border-slate-300:hover { border-color: var(--slate-300); }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Supplier Command Center (Vanilla) */
.page-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.join-card {
  border-radius: 1.25rem;
  padding: 1.5rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #4338ca);
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
}

.join-title {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.join-row {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.join-link {
  font-weight: 600;
  word-break: break-all;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.summary-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
}

.summary-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  color: #4338ca;
}

.summary-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.summary-icon.warning { background: #fef3c7; color: #b45309; }
.summary-icon.success { background: #dcfce7; color: #15803d; }
.summary-icon.info { background: #e0f2fe; color: #0369a1; }

.summary-value {
  margin-top: 0.75rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
}

.summary-subtext {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.dashboard-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.table-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.table-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.table-card-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table thead th {
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f9fafb;
  color: #6b7280;
}

.data-table tbody td {
  padding: 0.95rem 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-paid { background: #dcfce7; color: #15803d; }
.status-pending { background: #fef3c7; color: #b45309; }
.status-shipped { background: #e0f2fe; color: #0369a1; }

.card-block {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.card-block h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.card-stack {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mini-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
}

.mini-title {
  font-weight: 600;
  color: #111827;
}

.mini-subtext {
  font-size: 0.75rem;
  color: #6b7280;
}

.mini-value {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #1f2937;
}

.mini-value.danger { color: #dc2626; }

.mini-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.empty {
  padding: 0.75rem 0;
}

.muted { color: #6b7280; }

.btn-inverse {
  background: #ffffff;
  color: #2563eb;
  border-color: #ffffff;
}

.btn-small {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

/* Supplier Command Center refresh (vanilla CSS spec) */
body {
  background: #f8fafc;
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.summary-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.summary-label {
  color: #64748b;
  font-size: 0.875rem;
}

.summary-value {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
}

.join-card {
  background: #1e293b;
  color: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: none;
}

.join-title {
  color: #cbd5f5;
  font-size: 0.75rem;
}

.join-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.btn-inverse {
  background: #ffffff;
  color: #2563eb;
  border-color: #ffffff;
}

.table-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.data-table thead th,
.data-table tbody td {
  padding: 12px 16px;
}

.data-table tbody td {
  border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Supplier layout + sidebar (vanilla) */
.supplier-shell {
  display: flex;
  min-height: 100vh;
}

.supplier-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.supplier-header {
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
}

.supplier-header .subtitle {
  font-size: 0.875rem;
  color: #64748b;
}

.supplier-header .title {
  margin: 0.4rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.supplier-content {
  padding: 1.5rem;
}

.supplier-sidebar {
  display: none;
  width: 16rem;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  flex-direction: column;
  height: 100vh;
}

.sidebar-header {
  padding: 1.5rem;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.sidebar-subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.sidebar-link.active {
  background: #163f78 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(15, 40, 76, 0.09) !important;
}

.sidebar-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1rem 1.5rem;
}

.sidebar-logout {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  background: #ffffff;
  cursor: pointer;
}

.sidebar-logout:hover {
  border-color: #cbd5f5;
}

.sidebar-role {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.sidebar-mobile {
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.sidebar-mobile-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
}

.sidebar-mobile-hint {
  font-size: 0.75rem;
  color: #64748b;
}

.sidebar-mobile-nav {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-mobile-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1rem;
}

@media (min-width: 768px) {
  .supplier-sidebar { display: flex; }
  .sidebar-mobile { display: none; }
}

.supplier-body {
  background: #f8fafc;
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Agent layout (vanilla) */
.agent-body {
  background: #f8fafc;
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.agent-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.agent-header {
  border-bottom: 1px solid #1f3e73;
  background: #4f6ea8;
  color: #ffffff;
}

.agent-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.agent-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.agent-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.agent-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.agent-nav-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.agent-nav-link:hover {
  color: #ffffff;
}

.agent-logout {
  border: none;
  background: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: inherit;
  cursor: pointer;
}

.agent-logout:hover {
  color: #ffffff;
}

.agent-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

/* Shared page primitives (vanilla) */
.page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.page-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.page-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #64748b;
}

.page-meta {
  font-size: 0.85rem;
  color: #64748b;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.85rem;
  color: #475569;
}

.alert {
  margin-top: 1rem;
  border-radius: 0.75rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
}

.alert-success {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.alert-error {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.section {
  margin-top: 2rem;
}

.empty-card {
  margin-top: 2rem;
  border-radius: 1rem;
  border: 1px dashed #cbd5e1;
  background: #ffffff;
  padding: 2rem;
  text-align: center;
  color: #64748b;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.status-paid {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

.status-pending {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.status-shipped {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

.input-field {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  background: #ffffff;
}

.input-field:focus {
  outline: none;
  border-color: #94a3b8;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.btn-outline {
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
}

.btn-small {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

/* Agent catalog */
.product-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.product-media {
  background: #f1f5f9;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.product-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.price-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
}

.full-width {
  width: 100%;
}

/* Table helpers */
.table-card .data-table thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.table-card .data-table tbody td {
  color: #475569;
}

.table-muted {
  color: #94a3b8;
  font-size: 0.75rem;
}

/* Supplier ship form */
.ship-form {
  display: grid;
  gap: 0.5rem;
}

.ship-form .btn {
  width: 100%;
}

.is-hidden { display: none !important; }

/* Forms */
.form-shell {
  max-width: 42rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 600;
}

.form-error {
  font-size: 0.75rem;
  color: #dc2626;
}

.form-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.35rem;
}

.form-grid-3 {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Cards and sections */
.panel-card {
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.cta-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section-card {
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: #ffffff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.section-text {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.section-muted {
  color: #94a3b8;
  font-size: 0.85rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.two-column {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-detail-card {
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.link-back {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.link-back a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.link-back a:hover { color: #0f172a; }

/* Marketing kit */
.kit-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.85rem 1rem;
}

.kit-title {
  font-weight: 600;
  color: #0f172a;
}

.kit-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

.kit-link {
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}

.kit-link:hover { color: #0f172a; }

/* Checkout */
.checkout-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .checkout-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-card {
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Agent wallet info */
.info-card {
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1rem 1.25rem;
}

.info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.info-body {
  margin-top: 0.5rem;
  color: #475569;
  font-size: 0.9rem;
}

/* Action links */
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.action-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.action-link:hover { color: #0f172a; }

.action-link.danger { color: #dc2626; }

/* Tracking row */
.tracking-row {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.75rem;
  color: #64748b;
}

/* Supplier staff */
.split-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .split-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

.staff-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.85rem 1rem;
}

/* Wallet list */
.wallet-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wallet-card {
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.wallet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.wallet-balance {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

/* Filters */
.filter-tabs {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
}

.filter-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* Modal */
.modal-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.modal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.modal-image {
  width: 100%;
  border-radius: 0.75rem;
}

/* Landing */
.landing-shell {
  max-width: 48rem;
}

.landing-card {
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.cta-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-grid a:nth-child(3) { grid-column: 1 / -1; }
}

/* Reject form */
.reject-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Public landing */
.public-body {
  background: #f8fafc;
  color: #0f172a;
  font-family: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.public-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-header {
  background: #4f6ea8;
  border-bottom: 1px solid #1f3e73;
  color: #ffffff;
}

.public-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.public-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.public-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.public-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.public-nav a:hover { color: #ffffff; }

.public-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.public-main > section,
.public-main > .section,
.public-main > .join-hero {
  margin-bottom: 4rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 600;
}

.hero-title {
  margin: 0.75rem 0 0;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero-text {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
}

.feature-card {
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Auth pages */
.auth-body {
  background: #f8fafc;
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 26rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.auth-card-wide { max-width: 34rem; }

.auth-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.auth-subtitle {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #64748b;
}

.checkbox-row {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.plan-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  cursor: pointer;
}

.plan-card input {
  margin-top: 0.2rem;
}

.plan-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.plan-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  cursor: pointer;
}

.plan-card input {
  margin-top: 0.2rem;
}

.meta-row {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #64748b;
}

.mapping-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pricing-grid {
  margin: 2rem 0 1rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-card {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.pricing-card input {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.pricing-card.recommended {
  border-color: #4f46e5;
  box-shadow: 0 18px 36px rgba(79, 70, 229, 0.18);
}

.pricing-badge {
  position: absolute;
  top: -0.6rem;
  left: 1.25rem;
  background: #4f46e5;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.pricing-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
}

.pricing-desc {
  font-size: 0.85rem;
  color: #64748b;
}

.plan-builder-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan-builder-card {
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-builder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.plan-builder-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.plan-builder-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.plan-builder-desc {
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.6;
}

.plan-builder-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.toggle-pill {
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.toggle-pill.on {
  background: #dcfce7;
  color: #15803d;
}

.toggle-pill.off {
  background: #fee2e2;
  color: #b91c1c;
}

.toggle-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toggle-pill.featured {
  background: #eef2ff;
  color: #4338ca;
}

.comparison-table {
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.comparison-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.comparison-grid {
  display: grid;
  gap: 0.75rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  align-items: center;
}

.comparison-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 600;
}

.comparison-cell {
  font-size: 0.85rem;
  color: #475569;
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.admin-sidebar {
  background: #0f172a;
  color: #e2e8f0;
}

.admin-sidebar .sidebar-title,
.admin-sidebar .sidebar-subtitle,
.admin-sidebar .sidebar-role {
  color: #e2e8f0;
}

.admin-sidebar .sidebar-nav .sidebar-link {
  color: #cbd5f5;
}

.admin-sidebar .sidebar-nav .sidebar-link:hover {
  background: #1e293b;
  color: #ffffff;
}

.admin-sidebar .sidebar-nav .sidebar-link.active {
  background: #163f78 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(15, 40, 76, 0.09) !important;
}

.admin-badge {
  display: inline-flex;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.analytics-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.trend-row {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}

.trend-card {
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.75rem;
  text-align: center;
}

.trend-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trend-value {
  margin-top: 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.search-form .input-field {
  min-width: 220px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #475569;
  background: #ffffff;
  text-decoration: none;
}

.pagination .active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.date-range-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.trend-chart {
  margin-top: 1rem;
  width: 100%;
  height: 80px;
  color: #2563eb;
}

.pagination ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

.pagination li {
  display: inline-flex;
}

.pagination .disabled span {
  opacity: 0.5;
}

.delta-pill {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
}

.delta-pill.down {
  background: #fee2e2;
  color: #b91c1c;
}

/* Mall (public catalog) */
.mall-hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .mall-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

.mall-filter {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
  .mall-filter {
    grid-template-columns: 1.3fr 1fr auto;
    align-items: end;
  }
}

.mall-search,
.mall-category {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.featured-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.featured-card {
  border-radius: 1.1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.featured-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.featured-subtext {
  font-size: 0.8rem;
  color: #64748b;
}

.mall-link {
  font-weight: 600;
  color: #334155;
}

.mall-link:hover {
  color: #0f172a;
}

/* Dropzone (marketing kit) */
.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropzone-active {
  border-color: #2563eb;
  background: #eef2ff;
}

.dropzone-input {
  display: none;
}

.dropzone-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #475569;
}

.dropzone-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
}

.dropzone-file {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  color: #334155;
}

/* Sale visuals */
.sale-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
}

.hot-sale-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.3);
}

.sales-label {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.price-stack {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-strike {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 0.9rem;
}


/* Join landing page */
.join-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.9));
}

@media (min-width: 1024px) {
  .join-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content { align-items: flex-start; }
}

.pricing-table {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-tile {
  position: relative;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.pricing-tile.popular {
  border-color: #2563eb;
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(37, 99, 235, 0.22);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #475569;
  font-size: 0.9rem;
}

.pricing-list li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.check-icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: #e0e7ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-panel {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: #e0e7ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.announcement-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.announcement-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.announcement-card.promo-news {
  border-color: #bfdbfe;
  background: #eff6ff;
}

/* Supplier promotions summary */
.promo-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.promo-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.promo-summary-label {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.promo-summary-value {
  margin-top: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

.promo-summary-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.promo-summary-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  font-size: 0.85rem;
  color: #334155;
}

.promo-chip {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.promo-chip-sale {
  background: #f97316;
}

.promo-muted {
  color: #64748b;
  font-size: 0.75rem;
}

.announcement-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.announcement-date {
  background: #e0e7ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.announcement-arrow {
  font-size: 0.75rem;
  color: #2563eb;
  font-weight: 600;
}

.announcement-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.announcement-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.join-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  background: #0f172a;
  color: #ffffff;
  padding: 2rem;
}

.join-footer .section-title,
.join-footer .section-muted {
  color: #ffffff;
}

/* Join register page */
.join-register-shell {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  gap: 2.5rem;
}

.join-register-hero {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(255, 255, 255, 0.95));
}

.join-register-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.join-register-card .page-subtitle {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .join-register-shell { padding: 4rem 2rem; }
}

.public-body .btn-primary {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-body .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.35);
}

/* Bulletin board */
.bulletin-body {
  max-width: 540px;
  color: #475569;
}

.bulletin-list {
  display: grid;
  gap: 1rem;
}

.bulletin-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  background: #ffffff;
}

.bulletin-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

/* Promotions widget */
.promo-widget {
  background: linear-gradient(140deg, rgba(240, 249, 255, 0.9), rgba(236, 253, 245, 0.9));
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.promo-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.promo-carousel {
  position: relative;
  margin-top: 1rem;
}

.promo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.6);
  color: #2563eb;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
  z-index: 2;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.promo-nav-left { left: -16px; }
.promo-nav-right { right: -16px; }

.promo-carousel:hover .promo-nav {
  opacity: 1;
}

.promo-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 1.5rem 0.75rem;
  scroll-snap-type: x mandatory;
}

.promo-row::-webkit-scrollbar {
  height: 0;
}

.promo-row::-webkit-scrollbar-thumb {
  background: transparent;
}

.promo-card {
  border-radius: 16px;
  padding: 1.1rem 1rem;
  position: relative;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 1px solid rgba(37, 99, 235, 0.5);
  border-left: 3px dashed rgba(37, 99, 235, 0.7);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.24);
}

.promo-card.promo-compact {
  padding: 0.9rem 0.9rem 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.16);
}

.promo-card.promo-compact .promo-code {
  font-size: 1.1rem;
}

.promo-card.promo-compact .promo-value {
  font-size: 1.05rem;
}

.promo-card.promo-compact .promo-meta {
  font-size: 0.75rem;
}

.promo-card.promo-compact .promo-copy {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

.promo-card::before,
.promo-card::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f8fafc;
  top: 50%;
  transform: translateY(-50%);
}

.promo-card::before { left: -12px; }
.promo-card::after { right: -12px; }

.promo-card.promo-sale {
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
}

.promo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.promo-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d4ed8;
}

.promo-sale .promo-label {
  color: #2563eb;
}

.promo-urgent {
  font-size: 0.75rem;
  font-weight: 700;
  color: #b91c1c;
}

.promo-code {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0.5rem;
}

.promo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0.75rem;
}

.promo-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0.35rem;
}

.promo-meta {
  font-size: 0.75rem;
  color: #475569;
  margin-top: 0.35rem;
}

.promo-badge {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.promo-copy {
  margin-top: 0.65rem;
}

.promo-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #1e3a8a;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  font-size: 0.85rem;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Checkout refinement */
.checkout-summary {
  background: #f9fafb;
}

.promo-inline-modern {
  position: relative;
}

.promo-inline-modern .promo-apply {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4rem 0.9rem;
}

.promo-inline-modern .input-field {
  padding-right: 90px;
}

.customer-placeholder {
  margin-top: 0.75rem;
  border: 2px dashed #cbd5f5;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  color: #94a3b8;
  font-weight: 600;
}

.customer-selected {
  margin-top: 0.75rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 1rem;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.summary-line.total-line.success {
  color: #16a34a;
  transition: color 0.3s ease;
}

.checkout-input {
  height: 50px;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
}

.checkout-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
  border-color: #60a5fa;
}

.premium-action {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: none;
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.premium-action:hover {
  transform: translateY(-2px);
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5f5;
  border-top-color: #1e293b;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.checkout-steps {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.step-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
}

.step-pill.active {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Cart + checkout */
.cart-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 320px;
}

@media (max-width: 1024px) {
  .cart-grid { grid-template-columns: 1fr; }
}

.cart-list {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cart-thumb img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.cart-title {
  font-weight: 700;
  color: #0f172a;
}

.cart-meta {
  font-size: 0.85rem;
  color: #64748b;
}

.cart-qty-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty {
  width: 80px;
}

.cart-total {
  font-weight: 700;
  color: #0f172a;
}

.cart-summary {
  position: sticky;
  top: 1.5rem;
  height: fit-content;
}

.empty-state {
  text-align: center;
  background: #ffffff;
  border: 1px dashed #cbd5f5;
  border-radius: 16px;
  padding: 3rem 1.5rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.empty-illustration {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.checkout-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 360px;
}

@media (max-width: 1024px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-summary {
  position: sticky;
  top: 1.5rem;
  height: fit-content;
}

.summary-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.summary-thumb img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.summary-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
}

.summary-meta {
  font-size: 0.8rem;
  color: #64748b;
}

.summary-price {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
}

.summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 1rem 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #334155;
}

.summary-line.total-line {
  font-weight: 800;
  font-size: 1rem;
  color: #0f172a;
}

.discount-line {
  color: #16a34a;
}

.promo-inline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.customer-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
  max-height: 240px;
  overflow: auto;
}

.customer-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.customer-name {
  font-weight: 700;
  color: #0f172a;
}

.customer-meta {
  font-size: 0.8rem;
  color: #64748b;
}

.success-card {
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

.success-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stock-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.stock-ok {
  background: #dcfce7;
  color: #15803d;
}

.stock-low {
  background: #fee2e2;
  color: #b91c1c;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .quick-view-grid { grid-template-columns: 1fr; }
}

.quick-view-image img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

/* Supplier experience refresh */
:root {
  --supplier-bg-1: #f4f7fb;
  --supplier-bg-2: #e9eef8;
  --supplier-ink: #0f1c33;
  --supplier-muted: #51607a;
  --supplier-panel: #ffffff;
  --supplier-border: #d9e2f0;
  --supplier-primary: #1d4ed8;
  --supplier-primary-soft: #dbeafe;
}

.supplier-body {
  background:
    radial-gradient(circle at 85% -10%, rgba(37, 99, 235, 0.12), transparent 42%),
    radial-gradient(circle at -5% 100%, rgba(30, 64, 175, 0.1), transparent 36%),
    linear-gradient(180deg, var(--supplier-bg-1), var(--supplier-bg-2));
  color: var(--supplier-ink);
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.supplier-shell {
  gap: 1rem;
  padding: 1rem;
}

.supplier-main {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--supplier-border);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
}

.supplier-header {
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border-bottom: 1px solid var(--supplier-border);
  padding: 1.25rem 1.5rem;
}

.supplier-header .subtitle {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #5f6f89;
  font-weight: 700;
}

.supplier-header .title {
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.supplier-content {
  padding: 1.25rem;
}

.supplier-sidebar:not(.admin-sidebar) {
  width: 17.25rem;
  border-radius: 1.2rem;
  border: 1px solid #c8d4ea;
  background: linear-gradient(180deg, #fbfdff 0%, #eff4fc 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  height: calc(100vh - 2rem);
  position: sticky;
  top: 1rem;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-header {
  border-bottom: 1px solid #dde6f4;
  padding-bottom: 1.1rem;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-title {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-subtitle {
  color: #64748b;
  font-weight: 600;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-nav {
  gap: 0.4rem;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-link {
  border: 1px solid transparent;
  color: #314562;
  border-radius: 0.85rem;
  transition: all 0.22s ease;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-link:hover {
  border-color: #d5deec;
  background: #f7faff;
  transform: translateX(2px);
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-link.active {
  background: #163f78 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(15, 40, 76, 0.09) !important;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-footer {
  border-top-color: #dde6f4;
}

.supplier-dashboard {
  max-width: 1240px;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.supplier-dashboard .join-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
  gap: 1.2rem;
  border: 1px solid #1e3a8a;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(96, 165, 250, 0.28), transparent 40%),
    linear-gradient(130deg, #172554, #1e3a8a 58%, #1d4ed8);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.2);
}

.supplier-dashboard .join-content {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.supplier-dashboard .join-kicker {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid rgba(191, 219, 254, 0.55);
  background: rgba(191, 219, 254, 0.18);
  border-radius: 999px;
  color: #dbeafe;
  padding: 0.24rem 0.68rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.supplier-dashboard .join-title {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.supplier-dashboard .join-description {
  color: rgba(219, 234, 254, 0.95);
  max-width: 48ch;
  font-size: 0.93rem;
}

.supplier-dashboard .join-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(191, 219, 254, 0.35);
  color: #f8fbff;
}

.supplier-dashboard .join-row {
  margin-top: 0;
}

.supplier-dashboard .btn-inverse {
  border-radius: 0.75rem;
  border: 1px solid #c7d7fa;
  font-weight: 700;
}


.supplier-dashboard .join-open-btn {
  min-width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}
.supplier-dashboard .join-stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.supplier-dashboard .join-stat {
  display: grid;
  gap: 0.2rem;
  min-width: 130px;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(191, 219, 254, 0.35);
  background: rgba(15, 23, 42, 0.22);
}

.supplier-dashboard .join-stat-label {
  font-size: 0.72rem;
  color: #bfdbfe;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.supplier-dashboard .join-stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.supplier-dashboard .join-visual {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(191, 219, 254, 0.35);
  min-height: 170px;
}

.supplier-dashboard .join-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(15, 23, 42, 0.52));
}

.supplier-dashboard .join-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.supplier-dashboard .summary-grid {
  gap: 1rem;
}

.supplier-dashboard .summary-card,
.supplier-dashboard .table-card,
.supplier-dashboard .card-block {
  border-radius: 1rem;
  border: 1px solid var(--supplier-border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.supplier-dashboard .summary-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.supplier-dashboard .summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.supplier-dashboard .summary-label {
  color: var(--supplier-muted);
  letter-spacing: 0.02em;
}

.supplier-dashboard .summary-value {
  letter-spacing: -0.02em;
}

.supplier-dashboard .table-card-header,
.supplier-dashboard .card-block h2 {
  color: #0d203f;
}

.supplier-dashboard .table-card-header {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.supplier-dashboard .data-table thead th {
  background: #f5f8fe;
  color: #5f6f89;
}

.supplier-dashboard .data-table tbody tr:hover {
  background: #f8fbff;
}

.supplier-dashboard .mini-card {
  border-color: #dde6f4;
  background: #f8fbff;
}

.supplier-dashboard .mini-title {
  color: #0f2342;
}

.supplier-dashboard .action-link {
  color: #1d4ed8;
  font-weight: 700;
}

.supplier-dashboard .section.action-row {
  margin-top: 1rem;
}

.supplier-dashboard .summary-card,
.supplier-dashboard .card-block,
.supplier-dashboard .table-card {
  animation: riseIn 0.35s ease both;
}

.supplier-dashboard .summary-card:nth-child(2) { animation-delay: 0.05s; }
.supplier-dashboard .summary-card:nth-child(3) { animation-delay: 0.1s; }
.supplier-dashboard .summary-card:nth-child(4) { animation-delay: 0.15s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .supplier-shell {
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .supplier-sidebar:not(.admin-sidebar) {
    width: 15.6rem;
  }

  .supplier-dashboard .join-card {
    grid-template-columns: 1fr;
  }

  .supplier-dashboard .join-visual {
    min-height: 190px;
  }
}

@media (max-width: 767px) {
  .supplier-shell,
  .supplier-content {
    padding: 0;
  }

  .supplier-main {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .supplier-header {
    padding: 1rem;
  }

  .supplier-dashboard {
    padding: 1rem;
  }

  .supplier-dashboard .join-card {
    padding: 1rem;
    border-radius: 1rem;
  }

  .supplier-dashboard .join-title {
    font-size: 1.25rem;
  }

  .supplier-dashboard .join-row {
    flex-direction: column;
    align-items: stretch;
  }

  .supplier-dashboard .join-link {
    width: 100%;
  }
}

/* Solid dashboard chrome (supplier + admin + agent) */
:root {
  --dashboard-solid-header: #12355f;
  --dashboard-solid-sidebar: #0e2a4a;
  --dashboard-solid-nav-text: #e5efff;
}

.supplier-header {
  background: var(--dashboard-solid-header) !important;
  border-bottom-color: #0b2745 !important;
}

.supplier-header .subtitle,
.supplier-header .title {
  color: #f8fbff !important;
}

.supplier-sidebar:not(.admin-sidebar) {
  background: var(--dashboard-solid-sidebar) !important;
  border-color: #0b2745 !important;
  box-shadow: 0 16px 30px rgba(4, 16, 34, 0.28);
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-header,
.supplier-sidebar:not(.admin-sidebar) .sidebar-footer {
  border-color: rgba(197, 216, 255, 0.18) !important;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-title,
.supplier-sidebar:not(.admin-sidebar) .sidebar-subtitle,
.supplier-sidebar:not(.admin-sidebar) .sidebar-role,
.supplier-sidebar:not(.admin-sidebar) .sidebar-link {
  color: var(--dashboard-solid-nav-text) !important;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-link:hover {
  background: rgba(184, 208, 255, 0.18) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.supplier-sidebar:not(.admin-sidebar) .sidebar-link.active {
  background: #163f78 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(15, 40, 76, 0.09) !important;
}

.sidebar-mobile,
.sidebar-mobile-footer {
  background: var(--dashboard-solid-sidebar) !important;
  border-color: rgba(197, 216, 255, 0.18) !important;
}

.sidebar-mobile-toggle,
.sidebar-mobile-hint,
.sidebar-mobile .sidebar-link,
.sidebar-mobile .sidebar-logout {
  color: var(--dashboard-solid-nav-text) !important;
}

.admin-sidebar {
  background: #0b2542 !important;
}

.admin-sidebar .sidebar-nav .sidebar-link.active {
  background: #163f78 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(15, 40, 76, 0.09) !important;
}

.agent-header {
  background: var(--dashboard-solid-header) !important;
  border-bottom-color: #0b2745 !important;
}

.agent-kicker,
.agent-nav,
.agent-nav-link,
.agent-logout {
  color: #f1f6ff !important;
}

.agent-nav-link:hover,
.agent-logout:hover {
  color: #ffffff !important;
}

/* Sidebar full-page stretch fix */
.supplier-sidebar {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: 100% !important;
  align-self: stretch;
}

/* Sidebar and hero polish pass */
.supplier-dashboard {
  gap: 1.5rem;
}

.supplier-dashboard .join-card {
  padding: 1.5rem;
}

.supplier-dashboard .join-content {
  gap: 0.85rem;
}

.supplier-dashboard .join-description {
  line-height: 1.5;
}

.supplier-dashboard .join-stats {
  margin-top: 0.1rem;
}

.sidebar-link.active {
  background: #163f78 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(15, 40, 76, 0.09) !important;
}

.sidebar-mobile-toggle {
  user-select: none;
}




/* Agent supplier-shell alignment */
.agent-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.25rem;
}

@media (max-width: 767px) {
  .agent-content {
    padding: 1rem;
  }
}

/* Agent dashboard hero glow */
.agent-dashboard-home {
  padding: 0;
  margin-bottom: 1.25rem;
}

.agent-dashboard-home .agent-hero-card {
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 88% 20%, rgba(96, 165, 250, 0.28), transparent 42%),
    linear-gradient(130deg, #1e2e63 0%, #223983 58%, #2f5ed6 100%);
  box-shadow:
    0 20px 38px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(147, 197, 253, 0.2) inset;
}

.agent-dashboard-home .join-title {
  text-transform: none;
}

.agent-dashboard-home .join-link {
  border-color: rgba(191, 219, 254, 0.38);
  background: rgba(15, 23, 42, 0.24);
}

.agent-dashboard-home .action-row {
  margin: 0;
  gap: 0.55rem;
}

.agent-dashboard-home .btn-outline {
  border-color: rgba(191, 219, 254, 0.45);
  color: #dbeafe;
  background: transparent;
}

.agent-dashboard-home .btn-outline:hover {
  background: rgba(191, 219, 254, 0.14);
  color: #ffffff;
}

.agent-dashboard-home .join-stat {
  min-width: 170px;
}

.agent-dashboard-home .join-visual {
  min-height: 230px;
}

@media (max-width: 767px) {
  .agent-dashboard-home .join-row {
    align-items: stretch;
  }

  .agent-dashboard-home .action-row {
    width: 100%;
  }

  .agent-dashboard-home .action-row .btn {
    width: 100%;
  }
}

/* Agent dashboard card theming */
.agent-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #d6e2f4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
}

.agent-card > * {
  position: relative;
  z-index: 1;
}

.agent-card .section-title {
  color: #0d1f3d;
}

.agent-card-points {
  background: linear-gradient(155deg, #f3fff8 0%, #e8fdf3 60%, #e0f9ee 100%);
  border-color: #c8efdd;
}

.agent-card-points::before {
  background: radial-gradient(circle at 88% 12%, rgba(16, 185, 129, 0.18), transparent 46%);
}

.agent-card-points .price-value {
  color: #065f46;
}

.agent-card-history {
  background: linear-gradient(160deg, #f7f9ff 0%, #edf1ff 58%, #e8eeff 100%);
  border-color: #d2daf7;
}

.agent-card-history::before {
  background: radial-gradient(circle at 90% 0%, rgba(99, 102, 241, 0.16), transparent 45%);
}

.agent-card-history .data-table thead th {
  background: #e8eefc;
  color: #4b5f84;
}

.agent-card-history .data-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.06);
}

.agent-card-promo {
  border-color: #bfdbfe;
}

.agent-card,
.agent-card-announcements .bulletin-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agent-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.agent-card-announcements .bulletin-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.16);
}

/* Agent announcement media block */
.agent-card-announcements {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.agent-card-announcements .announcement-media-wrap {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(219,234,254,0.5));
  padding: 0.75rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-card-announcements .announcement-media {
  width: 50%;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
  border-radius: 0.75rem;
  display: block;
}

.agent-card-announcements .announcement-content {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (max-width: 980px) {
  .agent-card-announcements .announcement-media {
  width: 50%;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
  border-radius: 0.75rem;
  display: block;
}
}





/* Agent wallet summary card */
.agent-wallet-summary-card {
  background: linear-gradient(155deg, #f7fbff 0%, #edf4ff 58%, #eaf2ff 100%);
  border: 1px solid #cfdef5;
}

.agent-wallet-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.agent-wallet-summary-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d8e4f8;
  border-radius: 0.95rem;
  padding: 0.9rem 1rem;
}

.agent-wallet-summary-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a6f94;
  font-weight: 700;
}

.agent-wallet-summary-value {
  margin-top: 0.45rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #10284b;
}

.agent-wallet-summary-value-sm {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #123663;
}

.agent-wallet-summary-meta {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #5f7290;
}

.agent-wallet-pending-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.45rem;
  max-height: 260px;
  overflow: auto;
}

.agent-wallet-latest-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.45rem;
  max-height: 260px;
  overflow: auto;
}

.agent-wallet-pending-item {
  border-radius: 0.75rem;
  border: 1px dashed #c9d9f3;
  background: #f8fbff;
  padding: 0.55rem 0.65rem;
}

/* Agent wallet topup visual */
.agent-topup-layout {
  align-items: start;
}

.agent-topup-form {
  max-width: none;
}

.agent-topup-visual-card {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.agent-topup-visual-image {
  width: min(100%, 360px);
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 20px rgba(15, 23, 42, 0.16));
}

@media (max-width: 1023px) {
  .agent-topup-visual-card {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

  .agent-topup-visual-image {
    width: min(100%, 300px);
    max-height: 260px;
  }
}


/* Agent orders hero */
.agent-orders-hero-wrap {
  padding: 0;
  margin-bottom: 1.2rem;
}

.agent-orders-hero {
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(125, 211, 252, 0.25), transparent 40%),
    linear-gradient(130deg, #102a54 0%, #1c3f7f 60%, #2f66cb 100%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(191, 219, 254, 0.18) inset;
}

.agent-orders-hero .join-title {
  text-transform: none;
}

.agent-orders-hero .join-stat {
  min-width: 160px;
}

.agent-orders-hero .join-visual {
  min-height: 220px;
}

.agent-orders-hero .join-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .agent-orders-hero {
    padding: 1rem;
    border-radius: 1rem;
  }

  .agent-orders-hero .join-visual {
    min-height: 180px;
  }
}

/* Agent catalog hero */
.agent-catalog-hero-wrap {
  padding: 0;
  margin-bottom: 1.2rem;
}

.agent-catalog-hero {
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 86% 18%, rgba(147, 197, 253, 0.25), transparent 42%),
    linear-gradient(130deg, #142d5b 0%, #1f4588 58%, #2f66cb 100%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(191, 219, 254, 0.18) inset;
}

.agent-catalog-hero .join-title {
  text-transform: none;
}

.agent-catalog-hero .join-stat {
  min-width: 170px;
}

.agent-catalog-hero .join-visual {
  min-height: 220px;
}

.agent-catalog-hero .join-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.4rem;
}

@media (max-width: 767px) {
  .agent-catalog-hero {
    padding: 1rem;
    border-radius: 1rem;
  }

  .agent-catalog-hero .join-visual {
    min-height: 180px;
  }
}

/* Agent wallet hero */
.agent-wallet-hero-wrap {
  padding: 0;
  margin-bottom: 1.2rem;
}

.agent-wallet-hero {
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 85% 18%, rgba(147, 197, 253, 0.26), transparent 42%),
    linear-gradient(130deg, #152f5f 0%, #1d4386 58%, #2f66cb 100%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(191, 219, 254, 0.18) inset;
}

.agent-wallet-hero .join-title {
  text-transform: none;
}

.agent-wallet-hero .join-stat {
  min-width: 170px;
}

.agent-wallet-hero .join-visual {
  min-height: 220px;
}

.agent-wallet-hero .join-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .agent-wallet-hero {
    padding: 1rem;
    border-radius: 1rem;
  }

  .agent-wallet-hero .join-visual {
    min-height: 180px;
  }
}

/* Agent customers hero */
.agent-customers-hero-wrap {
  padding: 0;
  margin-bottom: 1.2rem;
}

.agent-customers-hero {
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 86% 20%, rgba(186, 230, 253, 0.25), transparent 42%),
    linear-gradient(130deg, #14315f 0%, #1d4a8d 58%, #2f66cb 100%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(191, 219, 254, 0.18) inset;
}

.agent-customers-hero .join-title {
  text-transform: none;
}

.agent-customers-hero .join-stat {
  min-width: 170px;
}

.agent-customers-hero .join-visual {
  min-height: 220px;
}

.agent-customers-hero .join-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .agent-customers-hero {
    padding: 1rem;
    border-radius: 1rem;
  }

  .agent-customers-hero .join-visual {
    min-height: 180px;
  }
}

/* Agent cart hero */
.agent-cart-hero-wrap {
  padding: 0;
  margin-bottom: 1.2rem;
}

.agent-cart-hero {
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 86% 20%, rgba(186, 230, 253, 0.26), transparent 42%),
    linear-gradient(130deg, #142f5e 0%, #1c4587 58%, #2f66cb 100%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(191, 219, 254, 0.18) inset;
}

.agent-cart-hero .join-title {
  text-transform: none;
}

.agent-cart-hero .join-stat {
  min-width: 160px;
}

.agent-cart-hero .join-visual {
  min-height: 220px;
}

.agent-cart-hero .join-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .agent-cart-hero {
    padding: 1rem;
    border-radius: 1rem;
  }

  .agent-cart-hero .join-visual {
    min-height: 180px;
  }
}

/* Supplier join landing templates */
.join-theme-shell {
  background: var(--join-page-background);
}

.join-theme-header {
  background: var(--join-header-bg);
  border-bottom-color: var(--join-header-border);
}

.join-theme-primary {
  background: var(--join-primary);
  color: #ffffff;
}

.join-theme-primary:hover {
  background: var(--join-primary-hover);
  color: #ffffff;
}

.join-theme-accent {
  background: var(--join-secondary);
  color: #ffffff;
}

.join-theme-accent:hover {
  background: var(--join-secondary-hover);
  color: #ffffff;
}

.join-theme-chip {
  background: var(--join-chip-background);
  color: var(--join-chip-text);
}

.grid-two {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.join-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.join-brand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
}

.join-theme-footer {
  background: var(--join-footer-bg);
  color: var(--join-footer-text);
  margin-top: 2rem;
}

.join-theme-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.join-footer-main {
  display: grid;
  gap: 0.45rem;
}

.join-footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--join-footer-text);
}

.join-footer-description {
  color: var(--join-footer-muted);
  margin: 0;
  max-width: 52rem;
  font-size: 0.92rem;
}

.join-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: var(--join-footer-muted);
}

.join-footer-powered {
  font-size: 0.78rem;
  color: var(--join-footer-muted);
  opacity: 0.95;
}

@media (max-width: 767px) {
  .join-theme-footer-inner {
    align-items: flex-start;
  }

  .join-footer-powered {
    width: 100%;
    text-align: center;
    margin-top: 0.4rem;
  }
}

.join-footer-socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.join-social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--join-footer-text);
  border: 1px solid color-mix(in srgb, var(--join-footer-text) 35%, transparent);
  background: color-mix(in srgb, var(--join-footer-bg) 80%, white 20%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.join-social-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.join-social-link svg {
  width: 1rem;
  height: 1rem;
}

.join-footer-map-wrap {
  width: min(420px, 100%);
  border: 1px solid color-mix(in srgb, var(--join-footer-text) 30%, transparent);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.join-footer-map {
  width: 100%;
  height: 170px;
  border: 0;
  display: block;
}

