/* ==========================================================================
   HairQueue PRO — Modern Native iOS / iPadOS Design System
   Ultra-modern, sleek, responsive styling matching contemporary mobile apps
   ========================================================================== */

@import url('./product-mocks.css');

:root {
  --app-bg: #F8FAFC;
  --app-surface: #FFFFFF;
  --app-text: #0F172A;
  --app-text-muted: #64748B;
  --app-text-dim: #94A3B8;
  --app-border: #E2E8F0;
  --app-border-light: #F1F5F9;
  --app-primary: #2563EB;
  --app-primary-hover: #1D4ED8;
  --app-primary-soft: #EFF6FF;
  --app-success: #16A34A;
  --app-success-soft: #DCFCE7;
  --app-warning: #D97706;
  --app-warning-soft: #FEF3C7;
  --app-radius-sm: 8px;
  --app-radius-md: 12px;
  --app-radius-lg: 16px;
  --app-radius-full: 9999px;
  --app-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --app-shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --app-shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
  --app-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", Roboto, Helvetica, Arial, sans-serif;
}

html, body, #app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--app-bg);
  font-family: var(--app-font);
  color: var(--app-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

/* Base Layout Wrapper */
.app-device-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  background: var(--app-bg);
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Desktop & Tablet Management Sidebar
   -------------------------------------------------------------------------- */
.desktop-sidebar {
  width: 230px;
  background: var(--app-surface);
  border-right: 1px solid var(--app-border);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  flex-shrink: 0;
  z-index: 20;
}

.desktop-sidebar .brand-row {
  display: flex;
  align-items: center;
  padding: 4px 8px 18px;
  border-bottom: 1px solid var(--app-border-light);
  margin-bottom: 16px;
}

.desktop-sidebar .brand-logo {
  height: 24px;
  width: auto;
  display: block;
}

.studio-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-md);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--app-text);
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.studio-pill:hover {
  background: #EDF2F7;
  border-color: #CBD5E1;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--app-radius-md);
  border: none;
  background: transparent;
  color: var(--app-text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.nav-btn:hover {
  background: var(--app-border-light);
  color: var(--app-text);
}
.nav-btn.active {
  background: var(--app-primary-soft);
  color: var(--app-primary);
  font-weight: 600;
}
.nav-btn svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
  flex-shrink: 0;
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--app-border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wal-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--app-success);
  background: var(--app-success-soft);
  padding: 6px 10px;
  border-radius: var(--app-radius-sm);
}

/* --------------------------------------------------------------------------
   Main Surface Area
   -------------------------------------------------------------------------- */
.app-main-surface {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--app-bg);
}

@media (max-width: 768px) {
  .desktop-sidebar {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Modern Navigation Topbar & Modern Buttons
   -------------------------------------------------------------------------- */
.modern-topbar {
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--app-surface);
  border-bottom: 1px solid var(--app-border);
  flex-shrink: 0;
  position: relative;
  z-index: 15;
}

.modern-topbar-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--app-text);
  margin: 0;
}

.modern-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Modern Circular Action Button (Replaces Vintage Square Button) */
.btn-icon-modern {
  width: 36px;
  height: 36px;
  border-radius: var(--app-radius-full);
  background: #F1F5F9;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--app-text);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}
.btn-icon-modern:hover {
  background: #E2E8F0;
  transform: scale(1.04);
}
.btn-icon-modern:active {
  transform: scale(0.96);
  background: #CBD5E1;
}
.btn-icon-modern.primary {
  background: var(--app-primary);
  color: #FFFFFF;
}
.btn-icon-modern.primary:hover {
  background: var(--app-primary-hover);
}
.btn-icon-modern svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* Modern Action Pills */
.btn-pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--app-radius-full);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-pill-action.primary {
  background: var(--app-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.btn-pill-action.primary:hover {
  background: var(--app-primary-hover);
}
.btn-pill-action.secondary {
  background: #F1F5F9;
  color: var(--app-text);
}
.btn-pill-action.secondary:hover {
  background: #E2E8F0;
}

/* --------------------------------------------------------------------------
   Modern Segmented Control (Day / Week / Month / List)
   -------------------------------------------------------------------------- */
.modern-segments {
  display: flex;
  background: #E2E8F0;
  border-radius: var(--app-radius-md);
  padding: 3px;
  gap: 3px;
  margin-bottom: 12px;
}
.modern-segment-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 7px 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--app-text-muted);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.modern-segment-btn.active {
  background: #FFFFFF;
  color: var(--app-text);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* Date Navigator Row */
.modern-date-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 10px;
}
.modern-date-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--app-text);
}

/* --------------------------------------------------------------------------
   Barber Avatar Chips Carousel
   -------------------------------------------------------------------------- */
.barber-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.barber-chips-scroll::-webkit-scrollbar {
  display: none;
}
.modern-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border-radius: var(--app-radius-full);
  background: #FFFFFF;
  border: 1px solid var(--app-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--app-text);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--app-shadow-sm);
  transition: all 0.15s ease;
}
.modern-chip:hover {
  border-color: #CBD5E1;
}
.modern-chip.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.modern-chip .chip-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.modern-chip .chip-initials {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  background: #F1F5F9;
}
.modern-chip.active .chip-initials {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Fixed Modern Search Bar (Resolves Giant Icon Bug)
   -------------------------------------------------------------------------- */
.modern-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  border-radius: var(--app-radius-md);
  background: #FFFFFF;
  border: 1px solid var(--app-border);
  padding: 0 14px;
  margin-bottom: 14px;
  box-shadow: var(--app-shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.modern-search-bar:focus-within {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.modern-search-bar svg {
  width: 17px !important;
  height: 17px !important;
  color: var(--app-text-muted);
  flex-shrink: 0;
}
.modern-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--app-text);
  font-family: inherit;
}
.modern-search-bar input::placeholder {
  color: var(--app-text-dim);
}

/* --------------------------------------------------------------------------
   Modern Client Card List
   -------------------------------------------------------------------------- */
.modern-clients-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.modern-client-card {
  background: #FFFFFF;
  border-radius: var(--app-radius-lg);
  border: 1px solid var(--app-border-light);
  box-shadow: var(--app-shadow-sm);
  padding: 16px;
  transition: all 0.15s ease;
}
.modern-client-card:hover {
  box-shadow: var(--app-shadow-md);
  border-color: #E2E8F0;
}
.modern-client-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.client-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}
.client-info-meta {
  flex: 1;
  min-width: 0;
}
.client-name-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--app-text);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-sub-detail {
  font-size: 12px;
  color: var(--app-text-muted);
  margin: 0;
}
.formula-tag-box {
  background: #F8FAFC;
  border-left: 3px solid var(--app-primary);
  border-radius: var(--app-radius-sm);
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #334155;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Responsive Mobile Calendar Grid (Smooth Swipe, No Cramping)
   -------------------------------------------------------------------------- */
.modern-calendar-container {
  background: #FFFFFF;
  border-radius: var(--app-radius-lg);
  border: 1px solid var(--app-border);
  overflow: hidden;
  box-shadow: var(--app-shadow-sm);
}

.calendar-scroll-horizontal {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.calendar-header-row {
  display: flex;
  border-bottom: 1px solid var(--app-border);
  background: #F8FAFC;
  position: sticky;
  top: 0;
  z-index: 5;
}

.time-corner-spacer {
  width: 52px;
  flex-shrink: 0;
  background: #F8FAFC;
  border-right: 1px solid var(--app-border);
}

.barber-col-header {
  min-width: 150px;
  flex: 1;
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid var(--app-border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.barber-col-header strong {
  font-size: 13.5px;
  color: var(--app-text);
  font-weight: 600;
}
.barber-col-header small {
  font-size: 11px;
  color: var(--app-text-muted);
}

.calendar-viewport-body {
  display: flex;
  position: relative;
  height: 520px;
  overflow-y: auto;
}

.time-axis-gutter {
  width: 52px;
  flex-shrink: 0;
  position: sticky;
  left: 0;
  background: #FFFFFF;
  border-right: 1px solid var(--app-border);
  z-index: 4;
}
.time-axis-slot {
  height: 64px;
  padding-top: 4px;
  padding-right: 6px;
  text-align: right;
  font-size: 11px;
  font-weight: 500;
  color: var(--app-text-dim);
  border-top: 1px solid #F1F5F9;
}

.barber-schedule-column {
  min-width: 150px;
  flex: 1;
  position: relative;
  border-right: 1px solid #F1F5F9;
  background: repeating-linear-gradient(to bottom, transparent 0 63px, #F1F5F9 63px 64px);
}

.modern-appt-card {
  position: absolute;
  left: 3px;
  right: 3px;
  border-radius: var(--app-radius-sm);
  padding: 6px 8px;
  color: #FFFFFF;
  font-size: 11px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, filter 0.15s ease;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modern-appt-card:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.modern-appt-card strong {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modern-appt-card span {
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Modern Glassmorphic Mobile Tab Bar
   -------------------------------------------------------------------------- */
.modern-glass-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 30;
}
@media (min-width: 769px) {
  .modern-glass-tabbar {
    display: none !important;
  }
}
.glass-tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--app-text-muted);
  cursor: pointer;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.glass-tab-btn svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}
.glass-tab-btn.active {
  color: var(--app-primary);
  font-weight: 600;
}

/* Scroll padding so tabbar doesn't obscure content */
.scroll-content-padding {
  padding-bottom: 84px !important;
}
@media (min-width: 769px) {
  .scroll-content-padding {
    padding-bottom: 24px !important;
  }
}

/* --------------------------------------------------------------------------
   Modern Modal & Bottom Sheet System
   -------------------------------------------------------------------------- */
.custom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeInBackdrop 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.custom-sheet-content {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 24px 20px 32px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (min-width: 768px) {
  .custom-sheet-backdrop {
    align-items: center;
  }
  .custom-sheet-content {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-height: 85vh;
  }
}

/* Tip selection pills */
.sheet-tip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.sheet-tip-btn {
  padding: 10px 4px;
  border-radius: 12px;
  border: 1px solid var(--app-border);
  background: var(--app-bg);
  color: var(--app-text);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sheet-tip-btn span {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--app-text-muted);
}
.sheet-tip-btn.is-on {
  border-color: var(--app-primary);
  background: var(--app-primary-soft);
  color: var(--app-primary);
}
.sheet-tip-btn.is-on span {
  color: var(--app-primary);
}

/* Payment button rows in checkout */
.sheet-pay-btn {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--app-border);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}
.sheet-pay-btn:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  transform: translateY(-1px);
}
.sheet-pay-btn.dark {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}
.sheet-pay-btn.dark:hover {
  background: #1E293B;
}
.sheet-pay-btn .pay-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
}
.sheet-pay-btn.dark .pay-icon-box {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* Form input elements inside sheet */
.sheet-form-group {
  margin-bottom: 14px;
}
.sheet-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--app-text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sheet-form-input, .sheet-form-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--app-border);
  background: #FFFFFF;
  color: var(--app-text);
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease;
}
.sheet-form-input:focus, .sheet-form-select:focus {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* --------------------------------------------------------------------------
   Modern Luxury Retail Products Catalog & Inventory
   -------------------------------------------------------------------------- */
.prod-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.prod-kpi-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--app-radius-md, 14px);
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.prod-kpi-card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.prod-kpi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.prod-kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-kpi-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}
.prod-kpi-val {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.prod-kpi-sub {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 2px;
}
.prod-kpi-foot {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: auto;
}

/* Controls Card: Search & Filters */
.prod-controls-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--app-radius-md, 14px);
  padding: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prod-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.prod-search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.prod-search-input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
  font-family: inherit;
}
.prod-search-input:focus {
  background: #ffffff;
  border-color: var(--app-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.prod-search-clear {
  position: absolute;
  right: 12px;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #475569;
  cursor: pointer;
}
.prod-search-clear:hover {
  background: #cbd5e1;
  color: #0f172a;
}
.prod-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.prod-filter-bar::-webkit-scrollbar {
  display: none;
}
.prod-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
  padding: 6px 13px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: inherit;
}
.prod-filter-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.prod-filter-chip.active {
  background: var(--app-primary, #2563eb);
  color: #ffffff;
}
.prod-filter-chip.alert {
  background: #fef2f2;
  color: #dc2626;
}
.prod-filter-chip.active.alert {
  background: #dc2626;
  color: #ffffff;
}
.prod-chip-count {
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}
.prod-filter-chip.active .prod-chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Product Cards Grid */
.prod-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.prod-luxury-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--app-radius-md, 14px);
  padding: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.prod-luxury-card:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: rgba(203, 213, 225, 0.9);
}
.prod-luxury-card.card-low-stock {
  border-color: rgba(239, 68, 68, 0.4);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.3) 0%, #ffffff 60px);
}
.prod-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.prod-cat-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
}
.prod-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
}
.prod-stock-pill.good {
  background: #ecfdf5;
  color: #059669;
}
.prod-stock-pill.mid {
  background: #fffbeb;
  color: #b45309;
}
.prod-stock-pill.low {
  background: #fef2f2;
  color: #dc2626;
}
.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.prod-stock-pill.low .stock-dot {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}
.prod-card-image-wrap {
  width: 100%;
  height: 140px;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.prod-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.prod-luxury-card:hover .prod-card-img {
  transform: scale(1.06) translateY(-2px);
}
.prod-badge-hq {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.prod-card-main {
  margin-bottom: 12px;
}
.prod-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 5px 0;
}
.prod-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-pricing-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #f1f5f9;
  margin-bottom: 12px;
}
.prod-price-text {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.prod-cost-sub {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 1px;
}
.prod-margin-pill {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.prod-inventory-meter {
  margin-bottom: 14px;
}
.meter-track {
  width: 100%;
  height: 5px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.meter-bar {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}
.meter-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
}
.prod-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.prod-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  white-space: nowrap;
  font-family: inherit;
}
.prod-btn-action.restock {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.prod-btn-action.restock:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.prod-btn-action.sell {
  background: #0f172a;
  color: #ffffff;
}
.prod-btn-action.sell:hover {
  background: #1e293b;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}
.prod-btn-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.prod-empty-state {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--app-radius-md, 14px);
  padding: 40px 20px;
  text-align: center;
  margin: 20px 0;
}
.prod-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Modern My Day Operational Dashboard
   -------------------------------------------------------------------------- */
.my-day-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 900px) {
  .my-day-grid-layout {
    grid-template-columns: 1fr 1.25fr;
    gap: 20px;
    align-items: start;
  }
}
.my-day-col-left, .my-day-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.studio-now-hero-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-top: 4px solid #10b981;
  border-radius: var(--app-radius-md, 14px);
  padding: 16px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
}
.studio-now-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.status-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pulsing-green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}
.chair-tag {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.studio-now-client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.client-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex: none;
}
.now-client-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.now-service-line {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}
.now-payment-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #059669;
  font-weight: 600;
  margin-top: 4px;
}
.now-time-block {
  text-align: right;
  margin-left: auto;
}
.now-clock {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.now-duration {
  font-size: 11.5px;
  color: #64748b;
}
.now-actions-row {
  display: flex;
  gap: 8px;
}
.op-card-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--app-radius-md, 14px);
  padding: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.op-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.op-card-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}
.chair-stations-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chair-station-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f8fafc;
  border-radius: 10px;
}
.chair-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  flex: none;
  letter-spacing: 0.04em;
}
.chair-badge.cutting { background: #eff6ff; color: #1d4ed8; }
.chair-badge.styling { background: #fefce8; color: #a16207; }
.chair-badge.washing { background: #f5f3ff; color: #6d28d9; }
.chair-badge.open { background: #ecfdf5; color: #047857; }
.chair-meta {
  flex: 1;
  min-width: 0;
}
.chair-barber {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}
.chair-service {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chair-state-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  flex: none;
}
.chair-state-pill.active { background: #e0f2fe; color: #0369a1; }
.chair-state-pill.open { background: #dcfce7; color: #15803d; }
.queue-count-pill {
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}
.queue-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.queue-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.queue-token-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 8px;
  min-width: 44px;
  flex: none;
}
.token-num {
  font-size: 14px;
  font-weight: 800;
  color: #2563eb;
}
.token-wait {
  font-size: 10px;
  color: #64748b;
}
.queue-client-details {
  flex: 1;
  min-width: 0;
}
.queue-client-name {
  display: block;
  font-size: 14px;
  color: #0f172a;
}
.queue-client-sub {
  font-size: 11.5px;
  color: #64748b;
}
.queue-actions-group {
  display: flex;
  gap: 6px;
  flex: none;
}
.btn-token-call, .btn-token-seat {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  font-family: inherit;
}
.btn-token-call {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.btn-token-call:hover { background: #dbeafe; }
.btn-token-seat {
  background: #0f172a;
  color: #ffffff;
}
.btn-token-seat:hover { background: #1e293b; }

/* Run sheet column */
.runsheet-card-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--app-radius-md, 14px);
  padding: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.runsheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.runsheet-filter-group {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
}
.runsheet-filter-group .filter-btn {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.runsheet-filter-group .filter-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.runsheet-search-wrap {
  position: relative;
  margin-bottom: 12px;
}
.runsheet-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}
.runsheet-search-input {
  width: 100%;
  height: 38px;
  padding: 0 34px 0 36px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  font-family: inherit;
}
.runsheet-search-input:focus {
  background: #fff;
  border-color: var(--app-primary, #2563eb);
}
.runsheet-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  cursor: pointer;
}
.runsheet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
}
.runsheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.runsheet-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.runsheet-item.is-completed {
  opacity: 0.72;
  background: #f8fafc;
}
.runsheet-time-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 8px;
  min-width: 60px;
  flex: none;
}
.time-main { font-size: 12.5px; font-weight: 700; color: #0f172a; }
.time-dur { font-size: 10px; color: #64748b; }
.runsheet-meta {
  flex: 1;
  min-width: 0;
}
.client-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.runsheet-name { font-size: 14px; color: #0f172a; }
.runsheet-price { font-size: 14px; font-weight: 700; color: #0f172a; }
.client-row-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.service-name { font-size: 12px; color: #64748b; }
.payment-badge {
  font-size: 10.5px;
  color: #059669;
  background: #ecfdf5;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.runsheet-action-zone {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.completed-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
}
.btn-runsheet-action {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-runsheet-action.formula {
  background: #f1f5f9;
  color: #334155;
}
.btn-runsheet-action.settle {
  background: #0f172a;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Modern Client CRM Cards Grid & Details
   -------------------------------------------------------------------------- */
.client-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.crm-client-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--app-radius-md, 14px);
  padding: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.crm-client-card:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: rgba(203, 213, 225, 0.9);
}
.crm-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.crm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex: none;
}
.crm-client-identity {
  flex: 1;
  min-width: 0;
}
.crm-client-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.crm-tier-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
}
.crm-tier-badge.vip { background: #fefce8; color: #a16207; border: 1px solid rgba(234, 179, 8, 0.3); }
.crm-tier-badge.regular { background: #eff6ff; color: #1d4ed8; }
.crm-tier-badge.new { background: #f1f5f9; color: #475569; }
.crm-client-contact {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.btn-icon-subtle {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.btn-icon-subtle:hover { background: #f1f5f9; color: #0f172a; }
.crm-metrics-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
  text-align: center;
}
.crm-metric-cell .m-val { display: block; font-size: 13px; font-weight: 700; color: #0f172a; }
.crm-metric-cell .m-lbl { font-size: 10.5px; color: #94a3b8; text-transform: uppercase; font-weight: 600; }
.crm-formula-container {
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.formula-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #1e40af;
  margin-bottom: 4px;
}
.formula-text {
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.4;
  margin: 0;
}
.crm-actions-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  margin-top: auto;
}
.btn-crm-action {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  font-family: inherit;
  transition: all 0.15s ease;
}
.btn-crm-action.secondary {
  background: #f1f5f9;
  color: #334155;
}
.btn-crm-action.secondary:hover { background: #e2e8f0; }
.btn-crm-action.primary {
  background: #0f172a;
  color: #ffffff;
}
.btn-crm-action.primary:hover { background: #1e293b; }

/* --------------------------------------------------------------------------
   Modern Money Ledger & Financial Dashboard
   -------------------------------------------------------------------------- */
.money-timeframe-bar {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 16px;
  width: fit-content;
}
.timeframe-btn {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.timeframe-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.ledger-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 900px) {
  .ledger-dashboard-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    align-items: start;
  }
}
.ledger-col-left, .ledger-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.payment-channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.payment-channel-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.payment-channel-item .ch-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.payment-channel-item .ch-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
}
.payment-channel-item .ch-amt {
  font-weight: 700;
  color: #0f172a;
}
.ch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.ch-dot.upi { background: #2563eb; }
.ch-dot.cash { background: #10b981; }
.ch-dot.card { background: #8b5cf6; }
.ch-bar-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
}
.ch-bar-fill {
  height: 100%;
  border-radius: 9999px;
}
.ch-hint {
  font-size: 11px;
  color: #94a3b8;
}
.stream-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.stream-lbl { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.stream-val { font-size: 18px; font-weight: 800; color: #0f172a; margin-bottom: 2px; }
.stream-sub { font-size: 11px; color: #94a3b8; }
.reconciled-badge {
  font-size: 11.5px;
  color: #059669;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
}
.audit-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 6px;
}
.receipts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.receipt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.receipt-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.receipt-time {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
  padding: 3px 6px;
  border-radius: 6px;
}
.receipt-client {
  font-size: 13.5px;
  color: #0f172a;
  display: block;
}
.receipt-sub {
  font-size: 11.5px;
  color: #64748b;
}
.receipt-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.receipt-method-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}
.receipt-method-pill.upi { background: #eff6ff; color: #1d4ed8; }
.receipt-method-pill.cash { background: #ecfdf5; color: #047857; }
.receipt-method-pill.card { background: #f5f3ff; color: #6d28d9; }
.receipt-amount { font-size: 14.5px; font-weight: 800; color: #0f172a; }
.receipt-tip { font-size: 11px; color: #8b5cf6; font-weight: 600; }
.settlements-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settlement-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.settlement-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.settlement-meta {
  flex: 1;
  min-width: 0;
}
.settlement-meta strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
}
.settlement-meta span {
  font-size: 11.5px;
  color: #64748b;
}
.settlement-amount {
  font-size: 15px;
  font-weight: 800;
  color: #2563eb;
  flex: none;
}
