/* Crispy Crust Enterprise Customer Service, Helpdesk & 360 CRM (@crm_app) */
/* Unified Design System - Strict 13.5px Industrial Precision & Zero Unicode Emojis */

:root {
  font-size: 13.5px;
  --bg-base: #06090e;
  --bg-surface: #0b1120;
  --bg-card: #0f172a;
  --bg-card-hover: #162035;
  --bg-subtle: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: #0d9488;
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --accent-crm: #0d9488;
  --accent-crm-hover: #14b8a6;
  --accent-crm-glow: rgba(13, 148, 136, 0.2);
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.18);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.18);
  --accent-blue: #38bdf8;
  --accent-blue-glow: rgba(56, 189, 248, 0.18);
  --accent-red: #f43f5e;
  --accent-red-glow: rgba(244, 63, 94, 0.18);
  --accent-purple: #a855f7;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --header-height: 52px;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-family);
  direction: rtl;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TOP HORIZONTAL 52px NAVBAR (Standard Matching POS, Sales & ERP)
   ========================================================================== */
.crm-navbar {
  height: var(--header-height);
  min-height: var(--header-height);
  background-color: #0b1120;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.facility-badge-locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.3);
  color: #2dd4bf;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

.svg-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Desktop Horizontal Navigation Tabs */
.desktop-nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.nav-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-dim);
  border: none;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  white-space: nowrap;
}

.nav-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-tab-btn.active {
  color: #5eead4;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.35);
  font-weight: 700;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.nav-tab-btn.active .badge-pill {
  background: #0d9488;
  color: #ffffff;
}

/* Mobile Screen Switcher (Hidden on Desktop) */
.mobile-screens-dropdown-wrap {
  display: none;
}

/* Left Zone Panel */
.header-status-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-capsule {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.user-profile-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-profile-btn:hover {
  border-color: var(--accent-crm);
  box-shadow: 0 0 10px var(--accent-crm-glow);
}

.dropdown-menu-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 220px;
  background: #0f172a;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-card);
  display: none;
  flex-direction: column;
  z-index: 1001;
}

.dropdown-menu-popover.show {
  display: flex;
}

.dropdown-user-header {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.user-name-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.user-code-badge {
  font-size: 11px;
  color: var(--accent-crm);
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  text-align: right;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.dropdown-menu-item.danger {
  color: #fda4af;
}

.dropdown-menu-item.danger:hover {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-red);
}

/* ==========================================================================
   MAIN VIEW CONTAINER & GLOBAL LAYOUT
   ========================================================================== */
.main-view-container {
  flex: 1;
  padding: 16px 20px;
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
}

.view-section {
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

.view-section.active {
  display: block;
}

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

/* ==========================================================================
   METRIC & KPI RIBBON
   ========================================================================== */
.kpi-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.kpi-info {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 2px;
}

.kpi-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.kpi-subtext {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.kpi-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-icon-box.teal { background: rgba(13, 148, 136, 0.15); color: #2dd4bf; }
.kpi-icon-box.green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.kpi-icon-box.blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.kpi-icon-box.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.kpi-icon-box.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.kpi-icon-box.rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; }

/* ==========================================================================
   TOOLBARS & CONTROL BARS
   ========================================================================== */
.action-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  min-width: 240px;
}

.search-input-wrap input {
  width: 100%;
  height: 34px;
  background: #020617;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 10px 0 32px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 12.5px;
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--accent-crm);
}

.search-icon-inside {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.filter-select {
  height: 34px;
  background: #020617;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent-crm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-crm);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-crm-hover);
  box-shadow: 0 0 12px var(--accent-crm-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.btn-warning:hover {
  background: rgba(245, 158, 11, 0.25);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.25);
}

.btn-sm {
  height: 28px;
  padding: 0 10px;
  font-size: 11.5px;
}

/* ==========================================================================
   TAB 1: KANBAN PIPELINE & CADENCE BANNER
   ========================================================================== */
.cadence-banner {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.cadence-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

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

.cadence-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 11.5px;
}

.cadence-step-item.active {
  border-color: #0d9488;
  background: rgba(13, 148, 136, 0.15);
  color: #5eead4;
  font-weight: 700;
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.cadence-step-item.active .step-num {
  background: #0d9488;
  color: #ffffff;
}

.kanban-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  min-height: 520px;
}

.kanban-column {
  background: #0a0f1d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.kanban-header {
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kanban-col-title {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kanban-col-count {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 10px;
}

.kanban-col-rev {
  font-size: 11px;
  color: var(--accent-crm);
  font-weight: 700;
}

.kanban-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.kanban-progress-fill {
  height: 100%;
}

.kanban-cards-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
}

.opportunity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: all 0.15s ease;
  position: relative;
}

.opportunity-card:hover {
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.card-company {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.card-rev-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-amount {
  font-size: 13.5px;
  font-weight: 800;
  color: #38bdf8;
}

.ai-probability-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  color: #2dd4bf;
}

.priority-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.star-icon {
  width: 13px;
  height: 13px;
  cursor: pointer;
}

.card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 8px;
}

/* ==========================================================================
   DATA TABLES (Dense & Ergonomic 13.5px)
   ========================================================================== */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 12.5px;
}

.data-table th {
  background: #090e1a;
  color: var(--text-dim);
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.data-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.status-pill.new { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.status-pill.in-progress { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-pill.awaiting { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.status-pill.resolved { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-pill.closed { background: rgba(148, 163, 184, 0.15); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.3); }

/* SLA Badges */
.sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
}

.sla-badge.on_track { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.sla-badge.warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.sla-badge.breached { background: rgba(244, 63, 94, 0.15); color: #fb7185; }

/* ==========================================================================
   TAB 3: OMNICHANNEL CHATTER & VOIP WORKSPACE
   ========================================================================== */
.omnichannel-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  min-width: 0;
  max-width: 100%;
}

.panel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-card-title {
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* VoIP Dialer Mini */
.voip-dialer-box {
  background: #060a14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 14px;
}

.dialer-screen {
  background: #020617;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialer-screen input {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
}

.dialer-screen input:focus {
  outline: none;
}

.dialer-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.key-btn {
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.1s;
}

.key-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.call-timer-badge {
  font-size: 11px;
  color: #10b981;
  font-weight: 800;
}

/* Chatter Feed */
.chatter-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding: 4px;
}

.chatter-item {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.chatter-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatter-icon-box.voip { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.chatter-icon-box.chat { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.chatter-icon-box.sms { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.chatter-icon-box.email { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.chatter-icon-box.note { background: rgba(255, 255, 255, 0.1); color: #cbd5e1; }

.chatter-body {
  flex: 1;
}

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

.chatter-sender {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.chatter-time {
  font-size: 10.5px;
  color: var(--text-muted);
}

.chatter-text {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ==========================================================================
   TAB 4: 360 CUSTOMER PROFILE & ODOO STAT BAR
   ========================================================================== */
.odoo-stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.odoo-stat-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.15s ease;
  cursor: pointer;
}

.odoo-stat-btn:hover {
  background: rgba(13, 148, 136, 0.1);
  border-color: var(--accent-crm);
}

.stat-btn-count {
  font-size: 15px;
  font-weight: 800;
  color: #2dd4bf;
}

.stat-btn-label {
  font-size: 10.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.show {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 600px;
  background: #0f172a;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-modal:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 18px;
  overflow-y: auto;
}

.modal-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
}

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

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  height: 36px;
  background: #020617;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 12.5px;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-crm);
}

textarea.form-control {
  height: 75px;
  padding: 8px 10px;
}

/* Layout helper classes */
.composer-inputs-grid {
  display: grid;
  grid-template-columns: 140px 1fr 200px;
  gap: 8px;
  margin-bottom: 8px;
}

.customers-split-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 16px;
}

.automation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


