/* ==========================================================================
   JYLTOW PRO Mechanic Web Dashboard Styles
   Exact parity with: src/web-dashboard/mechanic/MechanicWebDashboard.tsx
   Canvas: #f1f5f9 | Sidebar: #0f172a | Accent: #38bdf8 | Status: #10b981
   ========================================================================== */

:root {
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --canvas-bg: #f1f5f9;
  --sidebar-bg: #0f172a;
  --sidebar-border: #1e293b;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background: var(--canvas-bg);
  -webkit-font-smoothing: antialiased;
}

.portal-container {
  display: flex;
  height: calc(100vh - 44px);
  width: 100%;
  overflow: hidden;
  background: var(--canvas-bg);
}

/* ==========================================================================
   SIDEBAR (Dark Navy #0F172A)
   ========================================================================== */
.portal-sidebar {
  width: 280px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px;
  flex-shrink: 0;
  overflow-y: auto;
  user-select: none;
}

.sidebar-brand {
  margin-bottom: 28px;
  padding: 0 8px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.5px;
}

.brand-title span {
  color: #38bdf8;
}

.version-text {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 40px;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-section-title {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
  margin-left: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  text-decoration: none;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
}

.nav-item.active {
  background: rgba(56, 189, 248, 0.1);
  border-left: 3px solid #38bdf8;
  color: #f0f9ff;
  font-weight: 600;
}

.nav-item.active svg {
  color: #38bdf8;
  stroke: #38bdf8;
}

.nav-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  margin-left: auto;
}

.sidebar-balance {
  font-size: 11.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: auto;
}

.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid #1e293b;
}

.signout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #ef4444;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
}

.signout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}

.user-profile-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 6px 8px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(56, 189, 248, 0.3);
}

.user-meta {
  flex: 1;
}

.user-name {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}

.user-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */
.portal-main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--canvas-bg);
}

/* Header Bar */
.portal-top-bar {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.status-indicator-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.status-indicator-badge.online {
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.status-indicator-badge.offline {
  color: #64748b;
  background: #f1f5f9;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  width: 240px;
}

.top-search-box input {
  background: none;
  border: none;
  outline: none;
  font-size: 12.5px;
  color: var(--text-main);
  width: 100%;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
}

.icon-btn:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   VIEW CONTAINERS
   ========================================================================== */
.portal-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.portal-view {
  display: none !important;
}

.portal-view.active {
  display: block !important;
}

/* Filter Row */
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-pill:hover {
  border-color: #cbd5e1;
  color: var(--text-main);
}

.filter-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* 3 KPI Stats Cards (MechanicWebDashboard.tsx parity) */
.stats-container-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.real-stat-card {
  flex: 1;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.real-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.real-stat-val {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.1;
  font-family: 'Outfit', -apple-system, sans-serif;
}

.real-stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* Authentic Requests Table Container & Toolbar (MechanicWebDashboard.tsx parity) */
.real-table-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.real-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  gap: 12px;
  flex-wrap: wrap;
}

.real-search-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 0 12px;
  height: 40px;
  width: 300px;
  gap: 8px;
}

.real-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #0f172a;
  width: 100%;
  font-family: inherit;
}

.real-search-input::placeholder {
  color: #94a3b8;
}

.real-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.real-segmented-control {
  display: flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}

.real-segment-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.real-segment-btn:hover {
  color: #1e293b;
}

.real-segment-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.real-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.real-filter-btn:hover {
  background: #f8fafc;
}

.real-filter-btn.active {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #3b82f6;
}

.real-table-wrapper {
  overflow-x: auto;
  width: 100%;
}

.real-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 900px;
}

.real-table th {
  background: #f8fafc;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.real-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 13px;
  color: #334155;
}

.real-table tr.is-new-row {
  background-color: #f0f9ff;
  border-left: 3px solid #3b82f6;
}

.real-table tr:hover {
  background-color: #f8fafc;
}

.real-table tr.is-new-row:hover {
  background-color: #e0f2fe;
}

.real-new-pill {
  background-color: #3b82f6;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.real-cell-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.real-cell-title.is-new {
  color: #1d4ed8;
  font-weight: 800;
}

.real-cell-subtitle {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.real-status-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  display: inline-block;
}

.status-pending {
  background: #fff7ed;
  color: #c2410c;
}

.status-accepted {
  background: #f0fdf4;
  color: #15803d;
}

.status-declined {
  background: #f1f5f9;
  color: #475569;
}

.real-action-btn {
  background: #0f172a;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-family: inherit;
}

.real-action-btn:hover {
  background: #1e293b;
}

.vehicle-link {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.btn-bid {
  background: #0f172a;
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-bid:hover {
  background: #1e293b;
}

.btn-custom {
  background: #ffffff;
  color: #0284c7;
  border: 1px solid #bae6fd;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-custom:hover {
  background: #f0f9ff;
}

/* Table Style for History / Accounting */
.portal-table-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.portal-table th {
  background: #f8fafc;
  padding: 12px 18px;
  font-weight: 700;
  color: #64748b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--card-border);
}

.portal-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-main);
}

.portal-table tr:hover td {
  background: #fafafa;
}

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

.portal-modal-backdrop.active {
  display: flex;
}

.portal-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
}

.form-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.modal-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Toast */
.portal-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 999999;
  border: 1px solid rgba(255,255,255,0.1);
}

.portal-toast.active {
  display: flex;
  animation: slideToast 0.3s ease-out;
}

@keyframes slideToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   AUTO-OFFER BOT COMPONENT STYLES
   Exact parity with: src/web-dashboard/mechanic/MechanicWebAutoOffers.tsx
   ========================================================================== */
.auto-offers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.auto-offers-title-group h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.auto-offers-title-group p {
  font-size: 13.5px;
  color: #64748b;
  margin-top: 4px;
}

.auto-offers-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-save-settings {
  background: #0284c7;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: all 0.15s ease;
}

.btn-save-settings:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-test-bot {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-test-bot:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.services-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auto-offer-service-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.auto-offer-service-card.disabled {
  background: #fbfcfe;
  border-color: #f1f5f9;
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.service-card-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  flex-shrink: 0;
}

.service-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
}

.service-card-status-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-status-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.service-status-label.active {
  color: #10b981;
}

.service-status-label.inactive {
  color: #64748b;
}

/* iOS/Web Switch Toggle */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 26px;
}

.ios-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ios-switch input:checked + .ios-slider {
  background-color: #0284c7;
}

.ios-switch input:checked + .ios-slider:before {
  transform: translateX(20px);
}

/* Pricing Strategy Section */
.service-pricing-body {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}

.pricing-section-title {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.pricing-strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .pricing-strategy-grid {
    grid-template-columns: 1fr;
  }
}

.strategy-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.strategy-card.active {
  border: 2px solid #0284c7;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.strategy-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.strategy-header-title {
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
}

.strategy-card.active .strategy-header-title {
  color: #0284c7;
}

.strategy-body {
  margin-bottom: 16px;
}

.strategy-body .form-label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.strategy-input-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 12px;
  transition: border-color 0.15s;
}

.strategy-input-wrapper:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.strategy-input-wrapper .currency {
  font-size: 15px;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 6px;
}

.strategy-input-wrapper input {
  flex: 1;
  height: 38px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
}

.btn-activate-strategy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-activate-strategy:hover {
  background: #e2e8f0;
  color: #334155;
}

.strategy-card.active .btn-activate-strategy {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

/* Strategy Preview Banner */
.pricing-preview-banner {
  margin-top: 16px;
  background: #f0fdf4;
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid #dcfce7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-preview-banner.draft {
  background: #eff6ff;
  border-color: #dbeafe;
}

.preview-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-preview-banner.draft .preview-badge-row {
  color: #1d4ed8;
}

.preview-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}

.preview-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* Additional inputs in Auto-Offer Card */
.service-details-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .service-details-row {
    grid-template-columns: 1fr;
  }
}

.service-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

.service-textarea:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.auto-offer-pill-badge {
  background: rgba(147, 51, 234, 0.12);
  color: #9333ea;
  border: 1px solid rgba(147, 51, 234, 0.3);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   EXACT PARITY: MECHANIC WEB CALENDAR
   Parity with src/web-dashboard/mechanic/MechanicWebCalendar.tsx
   ========================================================================== */

.calendar-page-container {
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  padding-bottom: 50px;
  width: 100%;
}

.calendar-header-section {
  background: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.calendar-header-titles {
  display: flex;
  flex-direction: column;
}

.calendar-header-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
  letter-spacing: -0.5px;
}

.calendar-header-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.calendar-today-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calendar-today-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Stats Row: 4 Cards */
.calendar-stats-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 16px 20px 0 20px;
}

.calendar-stat-card {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.calendar-stat-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.calendar-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}

.calendar-stat-number {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.5px;
}

/* Calendar Main Card */
.calendar-main-card {
  margin: 16px 20px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.calendar-nav-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-view-tabs {
  display: inline-flex;
  background: #f8fafc;
  border-radius: 8px;
  padding: 3px;
  border: 1px solid #f1f5f9;
  gap: 2px;
}

.calendar-view-tab {
  background: transparent;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calendar-view-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.calendar-month-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.calendar-nav-arrow {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
}

.calendar-nav-arrow:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #e2e8f0;
}

.calendar-month-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
  min-width: 130px;
  text-align: center;
}

/* Day-of-week header */
.calendar-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}

.calendar-day-label {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  padding: 2px 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Month Grid */
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-cell {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 2px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
  background: transparent;
  box-sizing: border-box;
}

.calendar-day-cell:hover {
  background: #f8fafc;
}

.calendar-day-cell.selected {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.calendar-day-cell.today {
  background: #f0f9ff;
}

.calendar-day-cell.dimmed {
  opacity: 0.35;
}

.calendar-day-cell.empty {
  min-height: 74px;
  cursor: default;
  pointer-events: none;
}

.calendar-day-number {
  font-size: 12px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 3px;
}

.calendar-day-cell.selected .calendar-day-number {
  color: #0f172a;
  font-weight: 700;
}

.calendar-day-cell.today .calendar-day-number {
  color: #2563eb;
  font-weight: 700;
}

.calendar-chips-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: stretch;
}

.calendar-job-chip {
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  padding: 2px 4px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  transition: filter 0.1s;
}

.calendar-job-chip:hover {
  filter: brightness(0.95);
}

.calendar-more-chip {
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 4px;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}

/* Day View Selector */
.calendar-dayview-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
}

.calendar-dayview-datebox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendar-dayview-dayname {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calendar-dayview-daynumber {
  font-size: 32px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 2px;
}

/* Legend */
.calendar-legend-bar {
  display: flex;
  flex-direction: row;
  gap: 18px;
  padding: 0 20px;
  margin-bottom: 16px;
  align-items: center;
}

.calendar-legend-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.calendar-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
}

.calendar-legend-text {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}

/* Selected Day Panel */
.calendar-selected-section {
  padding: 0 20px;
}

.calendar-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.calendar-empty-day-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e2e8f0;
  gap: 8px;
  text-align: center;
}

.calendar-empty-day-text {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.calendar-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendar-job-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.calendar-job-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

.calendar-job-accent {
  width: 4px;
  flex-shrink: 0;
}

.calendar-job-content {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-job-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.calendar-job-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
  margin: 0 0 1px 0;
}

.calendar-job-subservice {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.calendar-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 10px;
  border-width: 1px;
  border-style: solid;
  flex-shrink: 0;
}

.calendar-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 2.5px;
}

.calendar-status-pill-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.calendar-job-details-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.calendar-job-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.calendar-job-meta-text {
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

.calendar-appointment-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eff6ff;
  padding: 5px 8px;
  border-radius: 6px;
  align-self: flex-start;
}

.calendar-appointment-text {
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
}

.calendar-view-detail-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 2px;
}

.calendar-view-detail-text {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

/* Modal for Job Detail Popup */
.calendar-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.calendar-modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .calendar-stats-row {
    flex-wrap: wrap;
  }
  .calendar-stat-card {
    min-width: 45%;
  }
}

/* ====================================================================
   Workshop Profile (MechanicWebProfile.tsx parity)
   ==================================================================== */
.profile-page-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-top-header {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.profile-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  font-family: 'Outfit', -apple-system, sans-serif;
}

.profile-subtitle {
  font-size: 13px;
  color: #64748b;
}

.profile-btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0284c7;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.profile-btn-edit:hover {
  background: #0369a1;
}

.profile-rating-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.profile-rating-overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 32px;
  border-right: 1px solid #e2e8f0;
  min-width: 160px;
}

.profile-rating-big {
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Outfit', -apple-system, sans-serif;
}

.profile-stars-row {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  color: #fbbf24;
}

.profile-total-reviews {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.profile-rating-bars {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.profile-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.profile-star-num {
  font-weight: 600;
  color: #0f172a;
  width: 12px;
}

.profile-bar-track {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.profile-bar-fill {
  height: 100%;
  background: #fbbf24;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.profile-bar-count {
  font-size: 13px;
  color: #64748b;
  width: 40px;
  text-align: right;
  font-weight: 500;
}

.profile-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.profile-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: #334155;
  border-bottom: 1px solid #f8fafc;
}

.profile-info-row:last-child {
  border-bottom: none;
}

.profile-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.review-customer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.review-customer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer-initial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.customer-name-text {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.review-service-badge {
  font-size: 12.5px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 6px;
}

.review-comment-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}

/* ====================================================================
   Settings View (MechanicWebSettings.tsx parity)
   ==================================================================== */
.settings-page-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.settings-header {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
}

.settings-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.settings-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.settings-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  font-family: 'Outfit', -apple-system, sans-serif;
}

.settings-instruction {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 18px;
}

.settings-distance-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.settings-dist-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.settings-dist-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.settings-dist-btn.active {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  font-weight: 700;
}

.settings-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.settings-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.settings-service-card.active {
  background: #f0fdf4;
  border-color: #10b981;
}

.settings-service-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  flex: 1;
}

.settings-service-card.active .settings-service-name {
  color: #065f46;
}

.service-toggle-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   BILLING & WALLET VIEW (100% MechanicWebAccounting.tsx Parity)
   ========================================================================== */

.billing-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0 40px;
}

.billing-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.billing-title {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.billing-subtitle {
  font-size: 14.5px;
  color: #64748b;
  margin: 0;
}

.billing-balance-card {
  background: #ffffff;
  padding: 22px 28px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  min-width: 260px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.billing-balance-label {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.billing-balance-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}

.billing-balance-val {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.billing-balance-curr {
  font-size: 16px;
  color: #94a3b8;
  font-weight: 700;
}

/* Sub-tab Pills */
.billing-subtabs-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.billing-subtab-pill {
  padding: 10px 20px;
  border-radius: 100px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.billing-subtab-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.billing-subtab-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.billing-subtab-pill svg {
  flex-shrink: 0;
}

/* Tab Panels */
.billing-tab-panel {
  display: none;
}

.billing-tab-panel.active {
  display: block;
}

/* Wallet Grid (Split 1.5 : 1) */
.billing-wallet-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .billing-wallet-grid {
    grid-template-columns: 1fr;
  }
}

.billing-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 30px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.billing-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.billing-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f0fdf4;
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.billing-card-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.billing-card-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 24px;
}

/* Payment Method Selection */
.billing-pay-method-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 540px) {
  .billing-pay-method-row {
    grid-template-columns: 1fr;
  }
}

.billing-method-btn {
  padding: 20px;
  border-radius: 16px;
  border: 2px solid #f1f5f9;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.billing-method-btn:hover {
  border-color: #cbd5e1;
}

.billing-method-btn.active {
  border-color: #064e3b;
  background: #f0fdf4;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.08);
}

.billing-method-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.billing-method-btn.active .billing-method-icon-box {
  background: #064e3b;
  color: #ffffff;
}

.billing-method-label {
  font-size: 15px;
  font-weight: 900;
  color: #1e293b;
}

.billing-method-sub {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 3px;
}

/* Presets & Custom Amount */
.billing-section-label {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.billing-presets-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.billing-preset-btn {
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  min-width: 90px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.billing-preset-btn:hover {
  border-color: #064e3b;
  background: #f0fdf4;
  transform: translateY(-1px);
}

.billing-preset-amt {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.billing-preset-cur {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
}

.billing-custom-toggle-btn {
  background: none;
  border: none;
  color: #064e3b;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.billing-custom-toggle-btn:hover {
  text-decoration: underline;
}

.billing-custom-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  margin-top: 14px;
}

.billing-custom-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.billing-custom-input-row {
  display: flex;
  gap: 12px;
}

.billing-custom-input-wrap {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.billing-custom-currency {
  font-size: 18px;
  font-weight: 900;
  color: #94a3b8;
  margin-right: 6px;
}

.billing-custom-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  background: transparent;
  padding: 12px 0;
  font-family: inherit;
}

.billing-custom-pay-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
}

.billing-custom-pay-btn:hover {
  background: #1e293b;
}

/* Interac Transfer Box */
.billing-interac-box {
  background: #f8fafc;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
}

.billing-interac-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.billing-interac-icon {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #ffffff;
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.billing-interac-details {
  flex: 1;
}

.billing-interac-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.billing-interac-setting-name {
  font-size: 13.5px;
  color: #475569;
  font-weight: 600;
}

.billing-interac-setting-val {
  font-size: 14.5px;
  font-weight: 900;
  color: #0f172a;
}

.billing-interac-pill {
  background: #0f172a;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
}

.billing-interac-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 14px 0;
}

.billing-interac-note {
  font-size: 12.5px;
  color: #64748b;
  line-height: 18px;
  font-style: italic;
}

/* Account Health Card */
.billing-health-status-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0fdf4;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #dcfce7;
  margin-bottom: 24px;
}

.billing-health-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: #10b981;
  flex-shrink: 0;
}

.billing-health-status-title {
  font-size: 14.5px;
  font-weight: 900;
  color: #166534;
}

.billing-health-status-desc {
  font-size: 12.5px;
  color: #15803d;
  margin-top: 2px;
  line-height: 17px;
}

.billing-health-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.billing-health-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.billing-health-metric-label {
  font-size: 14px;
  color: #475569;
  font-weight: 600;
}

.billing-health-metric-val {
  font-size: 15.5px;
  font-weight: 900;
}

.billing-health-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 2px 0;
}

/* Transactions / Financial Ledger */
.billing-ledger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.billing-month-navigator {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  align-items: center;
}

.billing-month-nav-btn {
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  color: #475569;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all 0.15s;
}

.billing-month-nav-btn:hover:not(:disabled) {
  background: #e2e8f0;
}

.billing-month-nav-btn:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.billing-month-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  padding: 0 12px;
  min-width: 120px;
  text-align: center;
}

.billing-btn-pdf {
  background: #064e3b;
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.billing-btn-pdf:hover {
  background: #04382a;
}

.billing-ledger-list {
  display: flex;
  flex-direction: column;
}

.billing-ledger-row {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}

.billing-ledger-row:last-child {
  border-bottom: none;
}

.billing-ledger-icon {
  width: 42px;
  height: 42px;
  border-radius: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.billing-ledger-icon.credit {
  background: #ecfdf5;
  color: #10b981;
}

.billing-ledger-icon.deduction {
  background: #fef2f2;
  color: #ef4444;
}

.billing-ledger-info {
  flex: 1;
}

.billing-ledger-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #1e293b;
}

.billing-ledger-sub {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.billing-ledger-ref {
  color: #94a3b8;
}

.billing-ledger-amounts {
  text-align: right;
}

.billing-ledger-amt {
  font-size: 15.5px;
  font-weight: 900;
}

.billing-ledger-amt.credit {
  color: #10b981;
}

.billing-ledger-amt.deduction {
  color: #ef4444;
}

.billing-ledger-bal {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 3px;
}

/* Statements Tab */
.billing-identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .billing-identity-grid {
    grid-template-columns: 1fr;
  }
}

.billing-statement-table {
  background: #f8fafc;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.billing-statement-row {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.billing-statement-row:last-child {
  border-bottom: none;
}

.billing-statement-row.total-row {
  background: #f1f5f9;
}

.billing-archive-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.billing-archive-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.15s ease;
}

.billing-archive-row:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.billing-archive-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.billing-archive-row.current .billing-archive-icon {
  background: #064e3b;
  color: #ffffff;
}

.billing-archive-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
}

.billing-archive-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.billing-archive-action {
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

/* ==========================================================================
   ACCOUNT VERIFICATION VIEW (100% MechanicWebVerification.tsx Parity)
   ========================================================================== */

.verification-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0 40px;
}

.verification-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.verification-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.verification-subtitle {
  font-size: 14.5px;
  color: #64748b;
  max-width: 600px;
  margin: 0;
  line-height: 20px;
}

.verification-shop-guide-btn {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.verification-shop-guide-btn:hover {
  background: #1e293b;
}

/* Two-column grid (Business info on left, documents on right) */
.verification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .verification-grid {
    grid-template-columns: 1fr;
  }
}

.verification-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.verification-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.verification-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.verification-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.verification-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 500px) {
  .verification-form-row {
    grid-template-columns: 1fr;
  }
}

.verification-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.verification-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.verification-input {
  height: 42px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14.5px;
  color: #0f172a;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.15s ease;
}

.verification-input:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.verification-input:disabled,
.verification-input.disabled {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

.verification-status-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #dcfce7;
}

.verification-status-text {
  font-size: 13.5px;
  color: #16a34a;
  font-weight: 600;
}

.verification-submit-btn {
  background: #064e3b;
  color: #ffffff;
  height: 46px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  transition: background 0.15s ease;
}

.verification-submit-btn:hover {
  background: #04382a;
}

/* All Documents Uploaded & Approved Section */
.verification-approved-hero {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  padding: 22px 24px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.verification-approved-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verification-approved-title {
  font-size: 16px;
  font-weight: 800;
  color: #166534;
  margin: 0 0 6px;
}

.verification-approved-desc {
  font-size: 13px;
  color: #15803d;
  line-height: 18px;
  margin: 0;
}

.verification-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.verification-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  gap: 12px;
  transition: all 0.15s ease;
}

.verification-check-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.verification-check-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.verification-check-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.verification-check-sub {
  font-size: 12px;
  color: #64748b;
}

.verification-check-badge {
  color: #10b981;
  font-weight: 800;
  font-size: 12px;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.verification-vault-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

/* Documents Column */
.verification-doc-info {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 18px;
  line-height: 18px;
}

.verification-group-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
}

.verification-doc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.verification-doc-item {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s ease;
}

.verification-doc-item:hover {
  border-color: #cbd5e1;
}

.verification-doc-main {
  flex: 1;
}

.verification-doc-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.verification-doc-label {
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
}

.verification-doc-info-btn {
  background: none;
  border: none;
  padding: 0;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.verification-doc-info-btn:hover {
  color: #0284c7;
}

.verification-badge {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
}

.verification-badge.approved {
  background: #dcfce7;
  color: #16a34a;
}

.verification-badge.pending {
  background: #fef3c7;
  color: #d97706;
}

.verification-badge.rejected {
  background: #fee2e2;
  color: #dc2626;
}

.verification-doc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verification-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.15s ease;
}

.verification-action-icon:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.verification-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.verification-upload-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.verification-help-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eff6ff;
  padding: 14px 16px;
  border-radius: 10px;
  margin-top: 14px;
}

.verification-help-text {
  font-size: 13px;
  color: #1e40af;
  font-weight: 500;
  margin: 0;
}

/* Service Requests Section */
.verification-services-section {
  margin-top: 36px;
}

.verification-services-header {
  margin-bottom: 16px;
}

.verification-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.verification-service-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.15s ease;
}

.verification-service-box.accepted {
  background: #d1fae5;
  border-color: #a7f3d0;
}

.verification-service-box.pending {
  background: #fef3c7;
  border-color: #fde68a;
}

.verification-service-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.verification-service-status {
  font-size: 12px;
  font-weight: 600;
}

.verification-service-status.accepted {
  color: #10b981;
}

.verification-service-status.pending {
  color: #f59e0b;
}

.verification-service-status.unrequested {
  color: #64748b;
}


