/* =========================================================================
   TraderRoute B2B Platform Design System
   Inspired by SAPMavens, Naukri Enterprise & Modern B2B Marketplaces
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Color Palette - Enterprise Trust Navy & Vibrant Accents */
  --navy-900: #0a1128;
  --navy-800: #101c3d;
  --navy-700: #182b5c;
  --navy-600: #203a7a;
  
  --primary-blue: #0284c7;
  --primary-blue-hover: #0369a1;
  --primary-blue-soft: #e0f2fe;

  --accent-cyan: #06b6d4;
  --accent-indigo: #4f46e5;
  --accent-purple: #7c3aed;

  /* State Colors */
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;
  
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --amber-border: #fde68a;

  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --rose-border: #fecdd3;

  --purple-soft: #f5f3ff;
  --purple-border: #ddd6fe;

  /* Surface & Background */
  --bg-app: #f4f7fb;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8fafc;
  
  /* Text */
  --text-title: #0f172a;
  --text-body: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-modal: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

html {
  font-size: 15px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================================
   TOP NAVIGATION BAR (SAPMavens / Naukri Enterprise Header Style)
   ========================================================================= */
.top-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.top-header-inner {
  max-width: 1720px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  padding: 3px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.05);
}

.brand-subname {
  color: var(--primary-blue);
  font-weight: 700;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0a1128 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary-blue);
}

/* Enterprise Workspace Switcher */
.tenant-pill-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-strong);
  padding: 5px 12px;
  border-radius: 8px;
}

.tenant-pill-badge label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tenant-select {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  outline: none;
}

/* Three Portal Tabs in Header (SAPMavens Multi-Stakeholder Switcher) */
.portal-switch-tabs {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.portal-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  padding: 7px 14px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.portal-switch-btn:hover {
  color: var(--text-title);
  background: rgba(255, 255, 255, 0.6);
}

.portal-switch-btn.active-owner {
  background: #ffffff;
  color: #1e40af;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.portal-switch-btn.active-customer {
  background: #ffffff;
  color: #065f46;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.portal-switch-btn.active-vendor {
  background: #ffffff;
  color: #92400e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.top-user-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.active-user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.82rem;
}

.active-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--navy-800);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

/* =========================================================================
   PORTAL CONTEXT SUB-BAR (SAPMavens Project & Operations Banner)
   ========================================================================= */
.context-subbar {
  background: linear-gradient(90deg, #0a1128 0%, #101c3d 60%, #182b5c 100%);
  color: #ffffff;
  padding: 10px 24px;
  border-bottom: 1px solid #203a7a;
}

.context-subbar-inner {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.context-headline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.role-pill {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.role-pill-owner { background: #3b82f6; color: #ffffff; }
.role-pill-customer { background: #10b981; color: #ffffff; }
.role-pill-vendor { background: #f59e0b; color: #000000; }

.context-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.context-details {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* =========================================================================
   WORKSPACE SHELL & SIDEBAR NAVIGATION
   ========================================================================= */
.workspace-wrapper {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  min-height: calc(100vh - 120px);
  padding: 20px 24px;
  gap: 24px;
}

.sidebar-panel {
  width: 270px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  align-self: start;
}

.sidebar-category-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  padding: 12px 12px 4px;
}

.side-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-body);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}

.side-nav-item:hover {
  background: #f1f5f9;
  color: var(--text-title);
}

.side-nav-item.active {
  background: #eff6ff;
  color: var(--primary-blue);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--primary-blue);
}

.nav-counter {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: #f1f5f9;
  color: #475569;
}

.nav-counter.warn {
  background: #fef3c7;
  color: #92400e;
}

.nav-counter.success {
  background: #d1fae5;
  color: #065f46;
}

.main-view-panel {
  flex: 1;
  min-width: 0;
}

/* =========================================================================
   PAGE HEADER & HERO STATS (SAPMavens Executive Overview)
   ========================================================================= */
.view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.view-title-wrap h1 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.view-title-wrap p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.view-actions-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* KPI Metrics Dashboard Cards */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.kpi-metric-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.kpi-metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-blue);
}

.kpi-metric-card.emerald::before { background: var(--emerald); }
.kpi-metric-card.amber::before { background: var(--amber); }
.kpi-metric-card.rose::before { background: var(--rose); }
.kpi-metric-card.purple::before { background: var(--accent-purple); }

.kpi-metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.kpi-metric-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 6px 0 3px;
  letter-spacing: -0.02em;
}

.kpi-metric-subtext {
  font-size: 0.8rem;
  color: var(--text-body);
}

/* =========================================================================
   AUTOMATED ORDER ROUTING BANNER (Naukri / SAPMavens Managed PMO Alert)
   ========================================================================= */
.managed-route-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.route-banner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.route-banner-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-banner-desc {
  font-size: 0.85rem;
  color: #334155;
}

/* =========================================================================
   CARDS, TABLES & DATA DISPLAY (Enterprise SaaS Density)
   ========================================================================= */
.content-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 22px;
  overflow: hidden;
}

.content-card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.content-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-card-body {
  padding: 20px 22px;
}

.table-scroller {
  width: 100%;
  overflow-x: auto;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.modern-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.modern-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  color: var(--navy-900);
}

.modern-table tr:last-child td {
  border-bottom: none;
}

.modern-table tbody tr {
  transition: background-color 0.12s ease;
}

.modern-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill.pending { background: var(--amber-soft); color: #92400e; border: 1px solid var(--amber-border); }
.status-pill.routed { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.status-pill.transit { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.status-pill.completed { background: var(--emerald-soft); color: #065f46; border: 1px solid var(--emerald-border); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
}
.btn-primary:hover {
  background: var(--primary-blue-hover);
}

.btn-emerald {
  background: var(--emerald);
  color: #ffffff;
}
.btn-emerald:hover {
  background: #047857;
}

.btn-amber {
  background: var(--amber);
  color: #ffffff;
}
.btn-amber:hover {
  background: #b45309;
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--text-body);
}
.btn-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Form Inputs */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-800);
}

.form-input {
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-title);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Two Column Layout */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 1080px) {
  .layout-2col {
    grid-template-columns: 1fr;
  }
  .workspace-wrapper {
    flex-direction: column;
    padding: 16px;
  }
  .sidebar-panel {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    border-radius: var(--radius-md);
  }
  .sidebar-category-title {
    display: none;
  }
}

/* =========================================================================
   MODERN ELEGANT B2B ENTERPRISE LOGIN GATEWAY
   ========================================================================= */
.login-gateway-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #080d1e;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(2, 132, 199, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(99, 102, 241, 0.18) 0%, transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

/* Translucent Top Header */
.login-gateway-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  background: rgba(8, 13, 30, 0.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 20;
}

.login-nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-nav-emblem {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
}

.login-nav-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
}

.login-nav-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #38bdf8;
}

.login-nav-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 700;
}

.badge-live-pulse::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.badge-cert {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Central Hero Stage */
.login-gateway-body {
  flex: 1;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 1.12fr 0.98fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (max-width: 1080px) {
  .login-gateway-body {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 24px 16px 40px;
  }
}

/* Left Brand Showcase */
.login-hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pill-glow-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.login-hero-headline {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.login-hero-headline .accent-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-hero-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 620px;
}

/* Feature Showcase Cards */
.login-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.login-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.login-feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateX(4px);
}

.login-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.login-feat-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.login-feat-text p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* Ticker Metrics */
.login-stats-ticker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.74rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* =========================================================================
   RIGHT AUTHENTICATION CARD (ELEGANT & CRISP)
   ========================================================================= */
.login-card-wrapper {
  position: relative;
}

.login-card-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  color: var(--text-body);
  border-radius: 24px;
  padding: 38px 36px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
}

@media (max-width: 600px) {
  .login-card {
    padding: 26px 20px;
  }
}

.login-card-header {
  margin-bottom: 20px;
}

.login-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}

.login-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Stakeholder Role Segmented Tabs */
.role-segmented-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}

.role-tab-btn {
  padding: 10px 8px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1.2;
}

.role-tab-btn:hover {
  color: var(--navy-900);
}

.role-tab-btn.active-admin {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.role-tab-btn.active-customer {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.role-tab-btn.active-vendor {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.role-hint-banner {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.role-hint-admin {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.role-hint-customer {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.role-hint-vendor {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* Modern Inputs with Icons */
.form-field-modern {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field-modern label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
}

.input-with-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-leading-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}

.form-input-modern {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--navy-900);
  background: #f8fafc;
  transition: all 0.2s ease;
}

.form-input-modern:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.toggle-pin-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 4px;
}

.toggle-pin-btn:hover {
  color: var(--navy-900);
}

.btn-sign-in {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
  margin-top: 6px;
}

.btn-sign-in:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

/* 1-Click Demo Section */
.demo-quick-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.demo-quick-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.demo-quick-title span {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
}

.demo-quick-title code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: #0f172a;
  font-weight: 700;
}

.demo-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-account-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}

.demo-account-chip:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.12);
  transform: translateY(-1px);
}

.demo-chip-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #0f172a;
  color: #ffffff;
}

.demo-chip-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.demo-chip-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.login-card-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 0.76rem;
  color: #94a3b8;
}

.btn-logout {
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
  font-weight: 700;
}

.btn-logout:hover {
  background: #fee2e2 !important;
  border-color: #ef4444 !important;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  border: 1px solid var(--border-subtle);
}

.modal-dialog-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.modal-dialog-body {
  padding: 24px;
}

.modal-dialog-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8fafc;
}

/* Toast Notification */
.toast-shelf {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-bubble {
  background: var(--navy-900);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-hover);
  border-left: 4px solid #10b981;
}

/* =========================================================================
   INTERACTIVE CART & SIDE SECTION LIVE TOTALS
   ========================================================================= */
.sticky-cart-panel {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-counter-pill {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.cart-stepper-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.cart-step-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cart-step-btn:hover {
  background: #e2e8f0;
  color: var(--primary-blue);
}

.cart-step-input {
  width: 48px;
  height: 32px;
  border: none;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  padding: 0 4px;
}

.cart-step-input:focus {
  outline: none;
  background: #f0fdf4;
}

.btn-add-cart {
  padding: 7px 14px;
  border: 1px solid var(--primary-blue);
  background: var(--primary-blue-soft);
  color: var(--primary-blue);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.btn-add-cart:hover {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

.btn-in-cart {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
}

/* Side Section Item Line in Cart */
.cart-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.cart-item-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.cart-item-total {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--navy-900);
}

.btn-remove-cart {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.btn-remove-cart:hover {
  color: #ef4444;
  background: #fee2e2;
}

/* Live Side Section Totals Box */
.cart-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.cart-summary-row strong {
  color: var(--navy-900);
}

.cart-grand-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 2px solid var(--border-subtle);
}

.cart-grand-total-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-900);
}

.cart-grand-total-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.02em;
}

/* Order Listing Filters & Search */
.orders-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-pills-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.filter-pill-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-pill-btn:hover {
  color: var(--navy-900);
}

.filter-pill-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* =========================================================================
   ORDER PREVIEW & FULFILLMENT TRACKING MODAL
   ========================================================================= */
.order-tracking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 20px 0 28px;
  padding: 0 16px;
}

.order-tracking-stepper::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 36px;
  right: 36px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.tracking-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.step-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #64748b;
  transition: all 0.2s ease;
}

.step-node.completed {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.step-node.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.25);
}

.step-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-900);
}

.step-subtext {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.preview-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.preview-info-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.preview-card-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Top bar Action Button */
.btn-top-new-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
  transition: all 0.18s ease;
}

.btn-top-new-order:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

/* Printable Document */
.document-invoice {
  border: 1px solid #cbd5e1;
  padding: 30px;
  border-radius: 8px;
  background: #ffffff;
}

.doc-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--navy-900);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

/* =========================================================================
   BLINKIT / ZEPTO SIGNATURE CUSTOMER REQUISITION & CATALOG EXPERIENCE
   ========================================================================= */

/* View Mode Switcher (Grid vs Table) */
.catalog-view-switcher {
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}

.view-switch-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.view-switch-btn.active {
  background: #ffffff;
  color: var(--navy-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Category Filter Bar Carousel */
.blinkit-cat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}

.blinkit-cat-pill {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.blinkit-cat-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.blinkit-cat-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

/* Blinkit Product Cards Grid */
.blinkit-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.blinkit-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.blinkit-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.blinkit-card.in-cart {
  border-color: #86efac;
  background: #fcfdfc;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
}

.blinkit-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.blinkit-sku-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 5px;
}

.blinkit-cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 5px;
}

/* Commodity Emblem / Placeholder Badge */
.blinkit-thumb-wrap {
  width: 100%;
  height: 96px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 2.4rem;
  position: relative;
  border: 1px solid #f1f5f9;
}

.blinkit-thumb-wrap .in-cart-indicator {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #059669;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3);
}

.blinkit-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.blinkit-unit-row {
  margin-bottom: 12px;
}

.blinkit-unit-pill {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.blinkit-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.blinkit-price-block {
  display: flex;
  flex-direction: column;
}

.blinkit-price-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: #059669;
  line-height: 1.2;
}

.blinkit-price-tax {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

/* Blinkit Signature Emerald ADD Button */
.blinkit-add-btn {
  background: #ffffff;
  border: 1.8px solid #059669;
  color: #059669;
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(5, 150, 105, 0.12);
  transition: all 0.15s ease;
}

.blinkit-add-btn:hover {
  background: #ecfdf5;
  border-color: #047857;
  color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.22);
}

.blinkit-add-btn:active {
  transform: scale(0.96);
}

/* Blinkit Signature Solid Emerald Stepper (When Quantity > 0) */
.blinkit-stepper {
  background: #059669;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35);
  overflow: hidden;
  padding: 1px;
}

.blinkit-step-btn {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
}

.blinkit-step-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

.blinkit-step-btn:active {
  background: rgba(0, 0, 0, 0.25);
}

.blinkit-step-val {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  min-width: 28px;
  text-align: center;
  user-select: none;
  padding: 0 4px;
}

.blinkit-step-input {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  width: 36px;
  text-align: center;
  outline: none;
}

/* =========================================================================
   BLINKIT / ZEPTO SIGNATURE CUSTOMER ORDER HISTORY CARDS
   ========================================================================= */
.blinkit-orders-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blinkit-order-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blinkit-order-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
}

.blinkit-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.blinkit-order-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blinkit-order-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
}

.blinkit-order-date {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

/* 4-Stage Mini Progress Bar inside each Order Card */
.blinkit-order-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 16px 0;
  padding: 0 10px;
}

.blinkit-order-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.blinkit-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.blinkit-timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.blinkit-timeline-step.completed .blinkit-timeline-dot {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
}

.blinkit-timeline-step.active .blinkit-timeline-dot {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  animation: pulse-ring 2s infinite;
}

.blinkit-timeline-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.blinkit-timeline-step.completed .blinkit-timeline-label,
.blinkit-timeline-step.active .blinkit-timeline-label {
  color: var(--navy-900);
}

/* Order Card Items Summary */
.blinkit-order-items-box {
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blinkit-order-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
}

.blinkit-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.blinkit-total-tag {
  display: flex;
  flex-direction: column;
}

.blinkit-total-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
}

.blinkit-total-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: #059669;
}

.blinkit-order-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Blinkit 1-Click Reorder Button */
.btn-reorder {
  background: #f0fdf4;
  border: 1.5px solid #059669;
  color: #059669;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-reorder:hover {
  background: #059669;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
}

/* =========================================================================
   MOBILE PWA & NATIVE APP EXPERIENCE (SLEEK & TOUCH-OPTIMIZED)
   ========================================================================= */

/* Mobile Bottom Navigation Bar (Hidden on Desktop) */
.mobile-bottom-nav {
  display: none;
}

.mobile-floating-cart {
  display: none;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  body {
    -webkit-tap-highlight-color: transparent;
  }

  /* Prevent awkward top-header wrapping */
  .top-header-inner {
    padding: 8px 14px;
    gap: 8px;
  }

  .brand-emblem {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.65rem;
  }

  /* Hide verbose desktop buttons on phone, keep essential controls */
  .portal-switch-tabs {
    display: none !important;
  }

  #tenantSelectorWrap {
    display: none !important;
  }

  .active-user-chip {
    padding: 3px 6px;
    gap: 6px;
  }

  .active-user-chip span:last-child {
    display: none;
  }

  .btn-top-new-order {
    padding: 5px 10px;
    font-size: 0.76rem;
  }

  /* Sidebar transforms into bottom nav on mobile */
  .sidebar-panel {
    display: none !important;
  }

  .workspace-wrapper {
    padding: 10px 12px 90px;
    gap: 12px;
  }

  .main-view-panel {
    padding: 0;
  }

  .view-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .view-actions-wrap {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  /* 2-column layouts stack naturally on mobile */
  .layout-2col {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Side Section Cart becomes full width card on mobile */
  .sticky-cart-panel {
    position: static;
  }

  /* Native-Feel Mobile Bottom Navigation Bar */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(10, 17, 40, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 170;
    justify-content: space-around;
    align-items: center;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  }

  .mobile-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 2px;
    transition: all 0.18s ease;
    position: relative;
  }

  .mobile-nav-btn.active {
    color: #38bdf8;
  }

  .mobile-nav-icon {
    font-size: 1.25rem;
    line-height: 1;
  }

  .mobile-nav-badge {
    position: absolute;
    top: 4px;
    right: 22%;
    background: #10b981;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 9999px;
  }

  /* Floating Mobile Cart Bar */
  .mobile-floating-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 68px;
    left: 12px;
    right: 12px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    padding: 11px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
    z-index: 160;
    cursor: pointer;
    animation: slide-up-cart 0.25s ease;
  }

  @keyframes slide-up-cart {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* Prevent zoom on input focus for mobile browsers */
  input[type="text"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Touch-friendly Stepper Buttons */
  .cart-step-btn {
    width: 36px;
    height: 36px;
  }

  .cart-step-input {
    width: 44px;
    height: 36px;
  }

  /* Modal Mobile Responsiveness */
  .modal-backdrop {
    padding: 8px;
    align-items: flex-end;
  }

  .modal-dialog {
    max-height: 94vh;
    border-radius: 18px 18px 0 0;
    border-bottom: none;
  }

  .modal-dialog-body {
    padding: 16px 14px;
  }

  .order-tracking-stepper {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
  }

  .order-tracking-stepper::before {
    display: none;
  }

  .tracking-step {
    flex: 1 1 40%;
  }

  /* Mobile Blinkit Grid: Responsive 2 Columns with Touch Steppers */
  .blinkit-catalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .blinkit-card {
    padding: 10px !important;
    border-radius: 12px !important;
  }

  .blinkit-thumb-wrap {
    height: 72px !important;
    font-size: 1.8rem !important;
    margin-bottom: 8px !important;
  }

  .blinkit-card-title {
    font-size: 0.84rem !important;
    min-height: 2.5em !important;
    line-height: 1.3 !important;
  }

  .blinkit-unit-pill {
    font-size: 0.66rem !important;
    padding: 1px 5px !important;
  }

  .blinkit-price-main {
    font-size: 1rem !important;
  }

  .blinkit-price-tax {
    font-size: 0.65rem !important;
  }

  .blinkit-add-btn {
    padding: 5px 12px !important;
    font-size: 0.78rem !important;
  }

  .blinkit-step-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
  }

  .blinkit-step-val {
    font-size: 0.85rem !important;
    min-width: 22px !important;
  }

  .blinkit-order-card {
    padding: 14px 12px !important;
  }

  .blinkit-order-num {
    font-size: 0.95rem !important;
  }

  .blinkit-timeline-label {
    font-size: 0.64rem !important;
  }
}


/* Mingled Kaarnishwar + TraderRoute Dual-Logo Lockup */
.brand-mingled-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-mingled-lockup:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.brand-logo-kaarnishwar {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.brand-logo-connector {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  user-select: none;
}

.brand-logo-trader {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Login Gateway Mingled Brand Badge */
.login-mingled-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.login-logo-kaarnishwar {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.login-logo-divider {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0284c7;
  opacity: 0.7;
}

.login-logo-trader {
  width: 44px;
  height: 44px;
  object-fit: contain;
}


/* Composite Divine Kaarnishwar on Handshake Logo */
.brand-logo-composite {
  height: 44px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: transform 0.2s ease;
}

.brand-mingled-lockup:hover .brand-logo-composite {
  transform: scale(1.05);
}

.login-logo-composite {
  height: 54px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

/* =========================================================================
   VYAPAR-STYLE B2B STOREFRONT & ANTI-WHATSAPP PRODUCE / FMCG ORDERING APP
   ========================================================================= */

.vyapar-store-wrapper {
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 90px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #0f172a;
}

.vyapar-container {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  position: relative;
}

/* Store Profile Header */
.vyapar-store-header {
  padding: 18px 16px 14px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.vyapar-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vyapar-brand-info {
  flex: 1;
}

.vyapar-store-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.vyapar-store-tagline {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 8px;
  line-height: 1.35;
}

.vyapar-store-address {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.vyapar-store-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
  overflow: hidden;
}

.vyapar-store-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vyapar-store-logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  color: #059669;
  text-align: center;
}

/* Action Buttons (Call Store & Send WhatsApp) */
.vyapar-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.vyapar-btn-call, .vyapar-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.vyapar-btn-call {
  background: #ffffff;
  color: #0284c7;
  border: 1.5px solid #0284c7;
}

.vyapar-btn-call:hover {
  background: #f0f9ff;
}

.vyapar-btn-wa {
  background: #ffffff;
  color: #16a34a;
  border: 1.5px solid #16a34a;
}

.vyapar-btn-wa:hover {
  background: #f0fdf4;
}

/* Cut-off Timer Bar & Reorder Bar */
.vyapar-cutoff-card {
  margin: 12px 16px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.vyapar-cutoff-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.vyapar-cutoff-timer {
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.vyapar-repeat-card {
  margin: 10px 16px 0;
  background: #ecfdf5;
  border: 1.5px dashed #059669;
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.vyapar-repeat-card:hover {
  background: #d1fae5;
}

.vyapar-repeat-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #065f46;
}

.vyapar-repeat-sub {
  font-size: 0.72rem;
  color: #047857;
}

.vyapar-voice-card {
  margin: 10px 16px 0;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  padding: 11px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}

.vyapar-voice-text {
  font-size: 0.84rem;
  font-weight: 700;
}

.vyapar-voice-sub {
  font-size: 0.72rem;
  opacity: 0.85;
}

/* Search Bar */
.vyapar-search-wrap {
  padding: 14px 16px 8px;
}

.vyapar-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.vyapar-search-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  font-size: 1rem;
}

.vyapar-search-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s;
}

.vyapar-search-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* Category Filter Pills (Horizontal Scroll) */
.vyapar-cat-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vyapar-cat-scroll::-webkit-scrollbar {
  display: none;
}

.vyapar-cat-pill {
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.vyapar-cat-pill.active {
  background: #fff1f2;
  border-color: #e11d48;
  color: #e11d48;
  font-weight: 700;
}

/* Products List */
.vyapar-products-list {
  padding: 0 16px;
}

.vyapar-prod-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 12px;
}

.vyapar-prod-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.vyapar-prod-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.vyapar-prod-details {
  flex: 1;
}

.vyapar-prod-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
  line-height: 1.3;
}

.vyapar-item-code {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.vyapar-prod-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.vyapar-prod-unit {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

/* Stepper / Add Button */
.vyapar-add-btn {
  padding: 7px 22px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0284c7;
  border: 1.5px solid #0284c7;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.vyapar-add-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.vyapar-stepper {
  display: flex;
  align-items: center;
  border-radius: 9999px;
  border: 1.5px solid #0284c7;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
}

.vyapar-step-btn {
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: #0284c7;
  border: none;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.vyapar-step-btn:hover {
  background: #f0f9ff;
}

.vyapar-step-qty {
  min-width: 28px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

/* Sticky Bottom Cart Bar */
.vyapar-bottom-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 640px;
  margin: 0 auto;
  background: #0284c7;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(2, 132, 199, 0.3);
}

.vyapar-cart-info {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.vyapar-cart-view-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.vyapar-cart-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Checkout View (Screenshot 3) */
.vyapar-checkout-view {
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 80px;
}

.vyapar-checkout-header {
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.vyapar-back-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #0f172a;
}

.vyapar-checkout-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.vyapar-card-section {
  background: #ffffff;
  margin: 12px 16px;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.vyapar-section-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
}

.vyapar-field {
  margin-bottom: 12px;
}

.vyapar-field-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
}

.vyapar-field-input:focus {
  border-color: #0284c7;
}

.vyapar-phone-row {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.vyapar-phone-prefix {
  padding: 10px 12px;
  background: #f8fafc;
  border-right: 1px solid #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.vyapar-phone-input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  outline: none;
  font-size: 0.88rem;
}

.vyapar-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 10px;
}

.vyapar-summary-item:last-child {
  border-bottom: none;
}

.vyapar-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 8px;
}

.vyapar-price-row.total {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  margin-top: 10px;
}

.vyapar-btn-place-order {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 640px;
  margin: 0 auto;
  padding: 14px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(2, 132, 199, 0.25);
}

.vyapar-btn-place-order:hover {
  background: #0369a1;
}

/* Voice Modal */
.vyapar-voice-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vyapar-voice-modal {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.vyapar-mic-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 16px;
  color: #ffffff;
  box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  animation: vyaparPulse 1.8s infinite;
  cursor: pointer;
}

@keyframes vyaparPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 18px rgba(124, 58, 237, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}
