/* ==========================================================================
   VOLANTO SAAS — APPROVED LIGHT DESIGN SYSTEM (volanto.ru)
   Exact match to approved mockup (media_1791575118237_7ec4b7e9.png)
   ========================================================================== */

:root {
  /* Legacy & test compatibility tokens */
  --bg-primary: #0f1117;

  /* Theme Tokens */
  --bg-page: #F8FAFC;          /* Slate-50 */
  --bg-card: #FFFFFF;          /* White */
  --bg-muted: #F1F5F9;         /* Slate-100 */
  --bg-accent-soft: #EFF6FF;    /* Blue-50 */

  --border-color: #E2E8F0;      /* Slate-200 */
  --border-hover: #CBD5E1;      /* Slate-300 */
  --border-focus: #2563EB;      /* Blue-600 */
  --ring-focus: rgba(37, 99, 235, 0.15);

  --text-primary: #0F172A;      /* Slate-900 */
  --text-secondary: #334155;    /* Slate-700 */
  --text-muted: #64748B;        /* Slate-500 */
  --text-subtle: #94A3B8;       /* Slate-400 */
  --text-on-accent: #FFFFFF;

  --primary: #2563EB;           /* Blue-600 */
  --primary-hover: #1D4ED8;     /* Blue-700 */
  --primary-active: #1E40AF;

  --accent-emerald: #10B981;
  --accent-emerald-soft: #ECFDF5;
  --warning: #F59E0B;
  --warning-soft: #FFFBEB;
  --danger: #EF4444;
  --danger-soft: #FEF2F2;
  --purple: #8B5CF6;
  --purple-soft: #F5F3FF;
  --orange: #F97316;
  --orange-soft: #FFF7ED;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);

  --transition: 0.16s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
}

/* ==========================================================================
   APP LAYOUT
   ========================================================================== */

.app-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   LEFT SIDEBAR (250px)
   -------------------------------------------------------------------------- */

.sidebar {
  width: 230px;
  min-width: 230px;
  background-color: var(--bg-card);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 12px 14px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 40;
}

.sidebar-header {
  margin-bottom: 18px;
  padding: 0 6px;
}

.brand-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-logo-text {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0F172A;
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.brand-logo-text .brand-v {
  color: var(--primary);
  font-weight: 900;
}

.brand-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 6px;
  font-weight: 400;
}

/* Sidebar Nav */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.nav-item:hover {
  background-color: var(--bg-muted);
  color: var(--text-primary);
}

/* Active Nav Item: Soft Blue Pill with Blue Text & Icon Box */
.nav-item.active {
  background-color: #EFF6FF;
  color: var(--primary);
  font-weight: 600;
}

.nav-item.active .nav-icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
}

.nav-item.active .nav-icon-svg {
  stroke: #FFFFFF;
}

.nav-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-icon-svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition);
}

.nav-item:hover .nav-icon-svg {
  stroke: var(--text-primary);
}

.sidebar-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 10px 4px;
  border: none;
}

/* Sidebar Quota Box */
.quota-box {
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-top: 16px;
}

.quota-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.quota-header strong {
  font-weight: 700;
}

.quota-percent {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.quota-progress-bg {
  width: 100%;
  height: 6px;
  background-color: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}

.quota-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.quota-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.btn-upgrade-pro {
  width: 100%;
  background-color: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color var(--transition);
}

.btn-upgrade-pro:hover {
  background-color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   MAIN WRAPPER & TOP BAR (64px)
   -------------------------------------------------------------------------- */

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.top-bar {
  height: 56px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 30;
}

/* Global Search Input in Top Bar */
.topbar-search-box {
  width: 440px;
  max-width: 46%;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
  background-color: #FFFFFF;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--ring-focus);
}

.search-input-icon-svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  margin-right: 8px;
}

.search-input-mock {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  color: var(--text-primary);
  outline: none;
}

.search-input-mock::placeholder {
  color: var(--text-subtle);
}

.search-shortcut-badge {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}

/* Topbar Actions */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Chrome Extension Status Pill */
.ext-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  flex-shrink: 0;
}

/* Notification Bell */
.btn-notification {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-md);
  transition: background-color var(--transition);
  flex-shrink: 0;
}

.btn-notification:hover {
  background-color: var(--bg-muted);
}

.bell-icon-svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background-color: #EF4444;
  border-radius: 50%;
}

/* Role Selector (Clean text style with icon matching mockup) */
.role-switcher-widget {
  position: relative;
  flex-shrink: 0;
}

.role-btn-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: transparent;
  border: none;
  padding: 6px 4px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition);
  white-space: nowrap;
}

.role-btn-toggle:hover {
  color: var(--primary);
}

.role-user-icon-svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
}

.role-chevron-svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

.role-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 270px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: none;
  z-index: 50;
}

.role-dropdown.active {
  display: block;
}

.role-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.role-dropdown-item:hover {
  background-color: var(--bg-muted);
}

.role-dropdown-item.active {
  background-color: var(--bg-accent-soft);
}

.role-item-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.role-item-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Tariff & Balance */
.wallet-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-tariff-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.topbar-tariff-label strong {
  color: var(--text-primary);
  font-weight: 700;
}

.btn-topup {
  background-color: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition);
}

.btn-topup:hover {
  background-color: var(--primary-hover);
}

/* User Profile */
.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.user-avatar-circle {
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
}

.user-name-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   CONTENT WORKSPACE
   -------------------------------------------------------------------------- */

.content-area {
  flex: 1;
  padding: 14px 18px;
  background-color: var(--bg-page);
  min-height: calc(100vh - 56px);
  box-sizing: border-box;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ==========================================================================
   DASHBOARD 2-COLUMN GRID (Exact Proportions from Mockup)
   ========================================================================== */

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 14px;
  align-items: start;
}

.dashboard-main-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-side-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   HERO CARD
   -------------------------------------------------------------------------- */

.hero-card {
  background: #FFFFFF radial-gradient(circle at 86% 50%, rgba(219, 234, 254, 0.45) 0%, rgba(239, 246, 255, 0.15) 45%, transparent 68%);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 610px;
  z-index: 2;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #F1F5F9;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
}

.hero-title {
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #0F172A;
  margin-bottom: 5px;
}

.hero-subtitle {
  font-size: 0.77rem;
  color: #64748B;
  line-height: 1.35;
  margin-bottom: 10px;
  max-width: 520px;
}

/* Integrated Hero Form with Inside Button */
.hero-input-form {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 3px 4px 3px 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  margin-bottom: 8px;
  width: 100%;
  max-width: 585px;
  height: 44px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-input-form:focus-within {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.hero-link-icon-svg {
  width: 15px;
  height: 15px;
  stroke: #94A3B8;
  fill: none;
  stroke-width: 2;
  margin-right: 8px;
  flex-shrink: 0;
}

.hero-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.76rem;
  color: #0F172A;
  outline: none;
  padding: 0 8px 0 0;
}

.hero-input::placeholder {
  color: #94A3B8;
  font-size: 0.76rem;
  font-weight: 400;
}

.btn-hero-submit {
  background-color: #2563EB;
  color: #FFFFFF;
  border: none;
  border-radius: 7px;
  height: 36px;
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.btn-hero-submit:hover {
  background-color: #1D4ED8;
}

/* Quick Examples Chips */
.hero-chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.71rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}

.chips-label {
  color: #64748B;
  font-size: 0.71rem;
  font-weight: 500;
}

.chip-item {
  background-color: #F1F5F9;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 0.70rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
}

.chip-item:hover {
  background-color: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
}

/* --------------------------------------------------------------------------
   HERO ARTWORK (AVITO STORE PREVIEW + GROWTH BARS)
   -------------------------------------------------------------------------- */

.hero-artwork {
  width: 180px;
  min-width: 180px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.art-container {
  position: relative;
  width: 170px;
  height: 130px;
}

/* Floating angled document behind */
.art-bg-doc {
  position: absolute;
  left: -6px;
  top: 5px;
  width: 100px;
  height: 85px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  z-index: 1;
  transform: rotate(-8deg);
}

/* Main Avito Card */
.art-card-main {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 125px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 6px 8px;
  box-shadow: 0 8px 18px -3px rgba(15, 23, 42, 0.08), 0 3px 5px -2px rgba(15, 23, 42, 0.04);
  z-index: 4;
}

.art-avito-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.art-avito-logo-dots {
  display: flex;
  gap: 3px;
}

.avito-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.avito-dot.green { background-color: #98C838; }
.avito-dot.blue { background-color: #00AAFF; }
.avito-dot.purple { background-color: #A335EE; }
.avito-dot.red { background-color: #FF5A4F; }

.art-avito-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.art-product-preview-box {
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 6px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  overflow: hidden;
}

.art-card-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.art-card-line {
  height: 3px;
  background-color: #E2E8F0;
  border-radius: 2px;
}
.art-card-line.long { width: 85%; }
.art-card-line.short { width: 55%; }

/* Floating document on the right */
.art-doc-right {
  position: absolute;
  right: -4px;
  top: 28px;
  width: 75px;
  height: 84px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06);
  z-index: 5;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: rotate(6deg);
}

.art-doc-line {
  height: 3px;
  background: #E2E8F0;
  border-radius: 2px;
}

.art-doc-stamp {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1.5px solid #2563EB;
  margin-top: auto;
  align-self: flex-end;
}

/* 3D Growing Chart Bars */
.art-growth-chart {
  position: absolute;
  left: 8px;
  bottom: 6px;
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 42px;
  z-index: 6;
}

.art-chart-pillar {
  width: 9px;
  border-radius: 3px;
  background: linear-gradient(180deg, #3B82F6 0%, #1D4ED8 100%);
  box-shadow: 0 3px 6px rgba(37, 99, 235, 0.35);
}
.art-chart-pillar:nth-child(1) { height: 35%; }
.art-chart-pillar:nth-child(2) { height: 65%; }
.art-chart-pillar:nth-child(3) { height: 100%; }

/* --------------------------------------------------------------------------
   HOW IT WORKS BLOCK (3 CARDS + ARROW CONNECTORS)
   -------------------------------------------------------------------------- */

.section-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  text-decoration: underline;
}

.how-it-works-grid {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-card {
  flex: 1;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 11px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 122px;
  box-sizing: border-box;
  transition: all var(--transition);
}

.step-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.step-num-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.step-num-badge.blue { background-color: #2563EB; }
.step-num-badge.purple { background-color: #8B5CF6; }
.step-num-badge.emerald { background-color: #10B981; }

.step-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.step-icon-box.blue { background-color: #EFF6FF; }
.step-icon-box.purple { background-color: #F5F3FF; }
.step-icon-box.emerald { background-color: #ECFDF5; }

.step-icon-svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-icon-box.blue .step-icon-svg { stroke: #2563EB; }
.step-icon-box.purple .step-icon-svg { stroke: #8B5CF6; }
.step-icon-box.emerald .step-icon-svg { stroke: #10B981; }

.step-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.step-text {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.35;
  margin-bottom: 6px;
  flex: 1;
}

.step-timing {
  font-size: 0.71rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.step-card:nth-child(1) .step-timing { color: #2563EB; }
.step-card:nth-child(3) .step-timing { color: #8B5CF6; }
.step-card:nth-child(5) .step-timing { color: #10B981; }

.timing-clock-svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.step-arrow-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  flex-shrink: 0;
}

.arrow-icon-svg {
  width: 12px;
  height: 12px;
  stroke: #94A3B8;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   VOLANTO FEATURES GRID (4 HORIZONTAL COMPACT CARDS)
   -------------------------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.feature-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 11px;
  padding: 9px 11px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon-box.blue { background-color: #EFF6FF; }
.feature-icon-box.purple { background-color: #F3E8FF; }
.feature-icon-box.emerald { background-color: #DCFCE7; }
.feature-icon-box.orange { background-color: #FFEDD5; }

.feature-icon-svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-icon-box.blue .feature-icon-svg { stroke: #2563EB; }
.feature-icon-box.purple .feature-icon-svg { stroke: #8B5CF6; }
.feature-icon-box.emerald .feature-icon-svg { stroke: #10B981; }
.feature-icon-box.orange .feature-icon-svg { stroke: #EA580C; }

.feature-text-block {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1px;
}

.feature-desc {
  font-size: 0.68rem;
  color: #64748B;
  line-height: 1.3;
}

/* ==========================================================================
   RIGHT COLUMN: STATS WIDGET & RECENT STORES
   ========================================================================== */

/* --------------------------------------------------------------------------
   STATS WIDGET
   -------------------------------------------------------------------------- */

.stats-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.stats-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
}

.period-select-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.71rem;
  font-weight: 500;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.calendar-icon-svg {
  width: 12px;
  height: 12px;
  stroke: #64748B;
  fill: none;
  stroke-width: 2;
}

.stats-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 8px;
}

.stat-box {
  background-color: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
}

.stat-icon-wrapper {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.stat-icon-wrapper.blue { background-color: #EFF6FF; }
.stat-icon-wrapper.purple { background-color: #F5F3FF; }
.stat-icon-wrapper.emerald { background-color: #ECFDF5; }
.stat-icon-wrapper.cyan { background-color: #E0F2FE; }

.stat-icon-svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat-icon-wrapper.blue .stat-icon-svg { stroke: #2563EB; }
.stat-icon-wrapper.purple .stat-icon-svg { stroke: #8B5CF6; }
.stat-icon-wrapper.emerald .stat-icon-svg { stroke: #10B981; }
.stat-icon-wrapper.cyan .stat-icon-svg { stroke: #0284C7; }

.stat-label {
  font-size: 0.67rem;
  color: #64748B;
  margin-bottom: 2px;
  line-height: 1.25;
}

.stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.stat-number {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}

.stat-trend {
  font-size: 0.65rem;
  font-weight: 600;
  color: #16A34A;
  background-color: #DCFCE7;
  padding: 1px 4px;
  border-radius: 4px;
}

/* Callout Tip */
.stats-callout-tip {
  background-color: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 8px;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.71rem;
  color: #1D4ED8;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.stats-callout-tip:hover {
  background-color: #DBEAFE;
}

.tip-bulb-svg {
  width: 14px;
  height: 14px;
  stroke: #2563EB;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.tip-arrow-svg {
  width: 12px;
  height: 12px;
  stroke: #2563EB;
  fill: none;
  stroke-width: 2;
  margin-left: auto;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   RECENT STORES WIDGET
   -------------------------------------------------------------------------- */

.recent-stores-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.recent-stores-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}

.store-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 7px;
  border: 1px solid transparent;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
}

.store-row-item:hover {
  border-color: #E2E8F0;
  background-color: #F8FAFC;
}

.store-thumb-box {
  width: 38px;
  height: 28px;
  border-radius: 5px;
  background-color: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

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

.store-info-box {
  flex: 1;
  min-width: 0;
}

.store-title-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-link-text {
  font-size: 0.68rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-badge-status {
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
}

.store-badge-status.ready {
  background-color: #DCFCE7;
  color: #16A34A;
}

.store-badge-status.analyzing {
  background-color: #FEF3C7;
  color: #D97706;
}

.store-badge-status.new {
  background-color: #EFF6FF;
  color: #2563EB;
}

.store-chevron-svg {
  width: 14px;
  height: 14px;
  stroke: #CBD5E1;
  fill: none;
  stroke-width: 2;
  margin-left: 2px;
}

/* ==========================================================================
   OTHER PAGES & COMMON ELEMENTS
   ========================================================================== */

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

/* CRM Table & Controls */
.crm-controls-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.crm-search-input {
  flex: 1;
  min-width: 240px;
  padding: 9px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  outline: none;
  background-color: #FFFFFF;
}

.crm-search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--ring-focus);
}

.crm-select {
  padding: 9px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  outline: none;
  background-color: #FFFFFF;
}

.btn-secondary {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background-color: var(--bg-muted);
  color: var(--text-primary);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.crm-table-container {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: #FFFFFF;
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
}

.crm-table th {
  background-color: var(--bg-muted);
  padding: 12px 16px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.crm-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}

.crm-table tr:hover td {
  background-color: #F8FAFC;
}

/* Seller Delegate Banner */
.seller-delegate-banner {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.delegate-banner-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 4px;
}

.delegate-banner-text p {
  font-size: 0.88rem;
  color: #3B82F6;
}

/* Command Palette (Ctrl + K) */
.command-palette-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}

.command-palette-overlay.active {
  display: flex;
}

.command-palette-box {
  width: 580px;
  max-width: 90vw;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.command-search-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  gap: 12px;
}

.command-search-input {
  flex: 1;
  border: none;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
}

.command-search-input::placeholder {
  color: var(--text-subtle);
}

.command-results-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.command-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.command-item:hover,
.command-item.focused {
  background-color: var(--bg-muted);
  color: var(--text-primary);
}

.command-footer {
  padding: 10px 16px;
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 520px;
  max-width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.15);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--ring-focus);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1200px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-arrow-circle { display: none; }
}

@media (max-width: 900px) {
  .sidebar { display: none; }
  .topbar-search-box { max-width: 300px; }
  .hero-card { flex-direction: column; align-items: flex-start; }
  .hero-artwork { display: none; }
}
