/* ==========================================================================
   INOSAHA DESIGN SYSTEM - MASTER STYLESHEET (inosaha.css)
   Saha Servis ve Satış Yönetimi İçin Tek Düzen Kurumsal Arayüz Sistemi
   Versiyon: 2.0 (Unified B2B SaaS Architecture)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Marka Renk Paleti - Inosaha Mavisi */
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #2563eb;
  --brand-600: #1d4ed8;
  --brand-700: #1e40af;
  --brand-800: #1e3a8a;
  --brand-900: #172554;
  --primary: var(--brand-500);
  --primary-hover: var(--brand-600);
  --primary-active: var(--brand-700);
  --primary-subtle: var(--brand-50);
  --primary-border: var(--brand-200);

  /* Slate & Nötr Renk Paleti */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #090d16;

  /* Zemin ve Kart Renkleri */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-sidebar: #090d16;
  --bg-sidebar-hover: #161e2e;
  --bg-sidebar-active: rgba(37, 99, 235, 0.15);

  /* Metin Renkleri */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Durum Renkleri (Status Colors) */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --success-text: #065f46;

  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --warning-text: #92400e;

  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --danger-text: #991b1b;

  --info: #0ea5e9;
  --info-bg: #f0f9ff;
  --info-border: #bae6fd;
  --info-text: #075985;

  --purple: #8b5cf6;
  --purple-bg: #f5f3ff;
  --purple-border: #ddd6fe;
  --purple-text: #5b21b6;

  /* Kenarlıklar */
  --border-color: #e2e8f0;
  --border-dark: #cbd5e1;
  --border-focus: var(--brand-500);

  /* Köşe Yuvarlatma (Border Radius) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Gölgeler (Box Shadows) */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-brand: 0 8px 20px -4px rgba(37, 99, 235, 0.25);

  /* Tipografi */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sidebar-width: 260px;
  --topbar-height: 64px;
  --mobile-nav-height: 68px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: var(--brand-500);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}
a:hover {
  color: var(--brand-600);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   3. APP SHELL & LAYOUT MİMARİSİ
   -------------------------------------------------------------------------- */
.app-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-body);
}

/* Masaüstü Sidebar */
.app-sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-sidebar);
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.sidebar-brand .brand-badge {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #64748b;
  padding: 0.75rem 0.75rem 0.25rem;
  margin-top: 0.5rem;
}

.nav-item {
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: #94a3b8;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease-in-out;
  position: relative;
}

.nav-link i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  color: #64748b;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: #ffffff;
  background-color: var(--bg-sidebar-hover);
}
.nav-link:hover i {
  color: var(--brand-400);
}

.nav-link.active {
  color: #ffffff;
  background-color: var(--bg-sidebar-active);
  font-weight: 600;
}
.nav-link.active i {
  color: var(--brand-400);
}
.nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background-color: var(--brand-500);
  border-radius: 0 4px 4px 0;
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(0, 0, 0, 0.15);
}

.user-profile-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--slate-800);
  color: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.75rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Ana İçerik Konteyneri */
.app-main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Üst Bar (Desktop Topbar) */
.app-topbar {
  height: var(--topbar-height);
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Sayfa Gövdesi */
.app-content {
  flex: 1;
  padding: 1.5rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4. MOBİL ARAYÜZ (MOBILE FRAMEWORK)
   -------------------------------------------------------------------------- */
.app-mobile-header {
  display: none;
  height: 56px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.mobile-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-nav-height);
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  z-index: 1030;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
  box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.04);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.35rem 0;
  transition: all 0.15s ease;
  text-decoration: none;
}

.bottom-nav-item i {
  font-size: 1.25rem;
  transition: transform 0.15s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--brand-500);
}
.bottom-nav-item.active i {
  transform: translateY(-2px);
}

.bottom-nav-fab {
  position: relative;
  top: -14px;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  border: 3px solid #ffffff;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bottom-nav-fab:active {
  transform: scale(0.92);
}
.bottom-nav-fab i {
  font-size: 1.35rem;
}

/* --------------------------------------------------------------------------
   5. BUTTONS (BUTONLAR)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled, .btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
}

/* Buton Varyasyonları */
.btn-primary {
  background-color: var(--brand-500);
  color: #ffffff;
  border-color: var(--brand-500);
  box-shadow: var(--shadow-xs);
}
.btn-primary:hover {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  background-color: var(--slate-100);
  color: var(--slate-700);
  border-color: var(--slate-200);
}
.btn-secondary:hover {
  background-color: var(--slate-200);
  color: var(--slate-900);
}

.btn-outline {
  background-color: transparent;
  color: var(--slate-700);
  border-color: var(--border-color);
}
.btn-outline:hover {
  background-color: var(--slate-50);
  color: var(--brand-500);
  border-color: var(--brand-500);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--brand-500);
  border-color: var(--brand-500);
}
.btn-outline-primary:hover {
  background-color: var(--brand-50);
  color: var(--brand-600);
}

.btn-success {
  background-color: var(--success);
  color: #ffffff;
  border-color: var(--success);
}
.btn-success:hover {
  background-color: #059669;
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-danger {
  background-color: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}
.btn-danger:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-warning {
  background-color: var(--warning);
  color: #ffffff;
  border-color: var(--warning);
}
.btn-warning:hover {
  background-color: #d97706;
  border-color: #d97706;
  color: #ffffff;
}

.btn-light {
  background-color: #ffffff;
  color: var(--slate-700);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}
.btn-light:hover {
  background-color: var(--slate-50);
  color: var(--slate-900);
  border-color: var(--border-dark);
}

.btn-ghost {
  background-color: transparent;
  color: var(--slate-600);
  border-color: transparent;
}
.btn-ghost:hover {
  background-color: var(--slate-100);
  color: var(--slate-900);
}

/* Buton Boyutları */
.btn-xs {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  border-radius: var(--radius-xs);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}

.btn-md {
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  display: flex;
  width: 100%;
}

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

.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}

.btn-icon.btn-lg {
  width: 44px;
  height: 44px;
}

.btn-pill {
  border-radius: var(--radius-full);
}

/* Buton Grubu */
.btn-group {
  display: inline-flex;
  align-items: center;
}
.btn-group .btn {
  border-radius: 0;
}
.btn-group .btn:first-child {
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}
.btn-group .btn:last-child {
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   6. CARDS (KARTLAR VE PANELLER)
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
}

.card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--slate-50);
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

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

.card-interactive {
  cursor: pointer;
}
.card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}

/* --------------------------------------------------------------------------
   7. KPI & İSTATİSTİK KARTLARI
   -------------------------------------------------------------------------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease-in-out;
}

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

.kpi-info {
  flex: 1;
}

.kpi-label {
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.kpi-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.kpi-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

.kpi-icon-primary {
  background-color: var(--brand-50);
  color: var(--brand-500);
}

.kpi-icon-success {
  background-color: var(--success-bg);
  color: var(--success);
}

.kpi-icon-warning {
  background-color: var(--warning-bg);
  color: var(--warning);
}

.kpi-icon-danger {
  background-color: var(--danger-bg);
  color: var(--danger);
}

.kpi-icon-purple {
  background-color: var(--purple-bg);
  color: var(--purple);
}

/* --------------------------------------------------------------------------
   8. FORMS & INPUTS (FORM ELEMANLARI)
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: var(--danger);
  margin-left: 0.2rem;
}

.form-control,
.form-select,
.saas-filter-input,
.saas-filter-select {
  width: 100%;
  height: 42px;
  padding: 0 0.85rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-select:focus,
.saas-filter-input:focus,
.saas-filter-select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder,
.saas-filter-input::placeholder {
  color: var(--slate-400);
  font-weight: 400;
}

textarea.form-control {
  height: auto;
  min-height: 85px;
  padding: 0.75rem 0.85rem;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 10px;
  padding-right: 2.25rem;
}

.input-group {
  display: flex;
  position: relative;
  width: 100%;
}

.input-group .form-control {
  border-radius: var(--radius-sm);
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--slate-100);
  border: 1.5px solid var(--border-color);
}

.input-group > .input-group-text:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}
.input-group > .form-control:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  accent-color: var(--brand-500);
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--slate-700);
  cursor: pointer;
  user-select: none;
}

/* --------------------------------------------------------------------------
   9. BADGES & DURUM ROZETLERİ (STATUS INDICATORS)
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.badge-primary {
  background-color: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
}
.badge-primary.badge-dot::before { background-color: var(--brand-500); }

.badge-success {
  background-color: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}
.badge-success.badge-dot::before { background-color: var(--success); }

.badge-warning {
  background-color: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
}
.badge-warning.badge-dot::before { background-color: var(--warning); }

.badge-danger {
  background-color: var(--danger-bg);
  color: var(--danger-text);
  border: 1px solid var(--danger-border);
}
.badge-danger.badge-dot::before { background-color: var(--danger); }

.badge-info {
  background-color: var(--info-bg);
  color: var(--info-text);
  border: 1px solid var(--info-border);
}
.badge-info.badge-dot::before { background-color: var(--info); }

.badge-neutral {
  background-color: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}
.badge-neutral.badge-dot::before { background-color: var(--slate-500); }

.badge-purple {
  background-color: var(--purple-bg);
  color: var(--purple-text);
  border: 1px solid var(--purple-border);
}
.badge-purple.badge-dot::before { background-color: var(--purple); }

/* --------------------------------------------------------------------------
   10. TABLES (TABLOLAR)
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.table-custom th {
  background-color: var(--slate-50);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.table-custom th:first-child {
  border-top-left-radius: var(--radius-sm);
}
.table-custom th:last-child {
  border-top-right-radius: var(--radius-sm);
}

.table-custom td {
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  background-color: #ffffff;
  transition: background-color 0.15s ease;
}

.table-custom tr:last-child td {
  border-bottom: none;
}

.table-custom tbody tr:hover td {
  background-color: var(--slate-50);
}

/* --------------------------------------------------------------------------
   11. DATA LIST & İŞ KARTLARI
   -------------------------------------------------------------------------- */
.data-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.data-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.15s ease-in-out;
}

.data-item:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}

.data-item-main {
  flex: 1;
  min-width: 0;
}

.data-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.data-item-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* --------------------------------------------------------------------------
   12. MODALS & BOTTOM SHEET (ÇEKMECELER)
   -------------------------------------------------------------------------- */
.modal-backdrop-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.modal-backdrop-custom.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog-custom {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.2s ease-in-out;
}

.modal-backdrop-custom.show .modal-dialog-custom {
  transform: scale(1);
}

.modal-header-custom {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-custom {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.modal-body-custom {
  padding: 1.5rem;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-footer-custom {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--slate-50);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   13. TOAST BİLDİRİMLERİ
   -------------------------------------------------------------------------- */
.toast-container-custom {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-custom {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateX(120%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-custom.show {
  transform: translateX(0);
}

.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

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

.toast-message {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.toast-success .toast-icon { color: var(--success); }
.toast-danger .toast-icon { color: var(--danger); }
.toast-info .toast-icon { color: var(--info); }

/* --------------------------------------------------------------------------
   14. UTILITY CLASSES (YARDIMCI SINIFLAR)
   -------------------------------------------------------------------------- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.flex-1 { flex: 1 !important; }
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-brand { color: var(--brand-500) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }

.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.8125rem !important; }
.text-md { font-size: 0.875rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.35rem !important; }

.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-extrabold { font-weight: 800 !important; }

.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }

.p-0 { padding: 0 !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS (MOBİL & TABLET UYUMU)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.open {
    transform: translateX(0);
  }
  .app-main {
    margin-left: 0;
  }
  .app-topbar {
    display: none;
  }
  .app-mobile-header {
    display: flex;
  }
  .app-bottom-nav {
    display: flex;
  }
  .app-content {
    padding: 1rem;
    padding-bottom: calc(var(--mobile-nav-height) + 1.5rem);
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .kpi-card {
    padding: 1rem;
  }
  .kpi-value {
    font-size: 1.35rem;
  }
  .kpi-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
}

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

/* ═══════════════════════════════════════════════════════════════
   LEGACY & SYSTEM CORE INTEGRATION (PWA, LOADER, STATUS BARS)
   ═══════════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════
       INOSAHA OFFLINE ALERT & SYNC BANNER STYLING
    ═════════════════════════════════════════════════════════ */
    .inosaha-offline-alert {
        background: #0f172a;
        border: 1.5px solid #f59e0b;
        border-radius: 14px;
        padding: 12px 18px;
        margin-bottom: 16px;
        box-shadow: 0 4px 18px rgba(245, 158, 11, 0.18);
        color: #ffffff;
        animation: slideDownAlert 0.3s ease;
    }
    .inosaha-offline-alert.online-restored {
        border-color: #10b981;
        background: #064e3b;
        box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
    }
    .offline-alert-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }
    .offline-icon-pulse {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: rgba(245, 158, 11, 0.2);
        color: #fbbf24;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        flex-shrink: 0;
    }
    .online-restored .offline-icon-pulse {
        background: rgba(16, 185, 129, 0.2);
        color: #34d399;
    }
    .offline-title {
        font-size: 13.5px;
        font-weight: 800;
        color: #f8fafc;
    }
    .offline-subtext {
        font-size: 11.5px;
        color: #94a3b8;
        margin-top: 1px;
    }
    @keyframes slideDownAlert {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    /* ═════════════════════════════════════════════════════════
       INOSAHA TECHNICIAN STATUS & BEACON STYLING (PRO DESIGN)
    ═════════════════════════════════════════════════════════ */
    .inosaha-tech-status-bar {
        margin-bottom: 16px;
    }
    .tech-status-card {
        border-radius: 14px;
        padding: 10px 14px;
        position: relative;
        border: 1px solid #e2e8f0;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    }
    .tech-status-card.is-online {
        background: #ffffff;
        border-color: #a7f3d0;
        box-shadow: 0 2px 8px -2px rgba(16, 185, 129, 0.12), 0 6px 18px -4px rgba(16, 185, 129, 0.08);
    }
    .tech-status-card.is-offline {
        background: #f8fafc;
        border-color: #e2e8f0;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    }
    .tech-status-avatar {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        flex-shrink: 0;
        position: relative;
        transition: all 0.25s ease;
    }
    .tech-status-avatar.is-online {
        background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
        color: #059669;
        border: 1px solid #86efac;
    }
    .tech-status-avatar.is-offline {
        background: #f1f5f9;
        color: #64748b;
        border: 1px solid #cbd5e1;
    }
    .tech-radar-ring {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 11px;
        border: 2px solid rgba(16, 185, 129, 0.5);
        animation: techRadarPulse 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
        pointer-events: none;
    }
    @keyframes techRadarPulse {
        0% { transform: scale(0.9); opacity: 0.9; }
        60% { transform: scale(1.22); opacity: 0; }
        100% { transform: scale(1.22); opacity: 0; }
    }
    .status-beacon {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
        flex-shrink: 0;
    }
    .beacon-online {
        background: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
        animation: beaconGlow 1.8s infinite;
    }
    .beacon-offline {
        background: #94a3b8;
        box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.2);
    }
    @keyframes beaconGlow {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.15); opacity: 0.8; }
    }
    .tech-status-title {
        font-size: 13.5px;
        font-weight: 700;
        letter-spacing: -0.2px;
        color: #0f172a;
        line-height: 1.2;
    }
    .tech-status-pill {
        font-size: 10.5px;
        font-weight: 600;
        padding: 2.5px 8px;
        border-radius: 9999px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        letter-spacing: 0.1px;
    }
    .tech-status-pill.online {
        background: #dcfce7;
        color: #15803d;
        border: 1px solid #86efac;
        font-weight: 700;
    }
    .tech-status-pill.offline {
        background: #e2e8f0;
        color: #334155;
        border: 1px solid #cbd5e1;
        font-weight: 700;
    }
    .tech-status-subtext {
        font-size: 11.5px;
        color: #475569;
        margin-top: 2px;
        line-height: 1.3;
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 500;
    }
    .text-emerald {
        color: #059669 !important;
    }
    .btn-tech-ping {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        color: #475569;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        transition: all 0.2s ease;
        cursor: pointer;
        padding: 0;
    }
    .btn-tech-ping:hover {
        background: #f8fafc;
        color: #059669;
        border-color: #86efac;
        transform: rotate(30deg);
    }
    .tech-ios-switch {
        position: relative;
        display: inline-block;
        width: 46px;
        height: 26px;
        cursor: pointer;
        user-select: none;
    }
    .tech-ios-switch input {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }
    .tech-ios-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #cbd5e1;
        transition: background-color 0.25s ease, box-shadow 0.25s ease;
        border-radius: 34px;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    .tech-ios-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: #ffffff;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    .tech-ios-switch input:checked + .tech-ios-slider {
        background-color: #10b981;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 10px rgba(16, 185, 129, 0.35);
    }
    .tech-ios-switch input:checked + .tech-ios-slider:before {
        transform: translateX(20px);
    }
    /* ═════════════════════════════════════════════════════════
       INOSAHA UNIFIED RESPONSIVE DESIGN SYSTEM (MOBILE + DESKTOP)
    ═════════════════════════════════════════════════════════ */
    :root {
        --primary: #2563eb;
        --primary-dark: #1d4ed8;
        --secondary: #0f172a;
        --sidebar-bg: #090d16;
        --sidebar-border: #1e293b;
        --accent: #f59e0b;
        --danger: #ef4444;
        --success: #10b981;
        --purple: #8b5cf6;
        --surface: #ffffff;
        --bg: #f8fafc;
        --text: #090d16;
        --muted: #64748b;
        --border: #e2e8f0;
        --border-color: #e2e8f0;
        --radius-lg: 16px;
        --radius-md: 10px;
        --radius-sm: 6px;
        --primary-light: #eff6ff;
        --success-light: #f0fdf4;
        --warning-light: #fffbeb;
        --danger-light: #fef2f2;
        --bg-body: #f8fafc;
        --text-main: #090d16;
        --text-muted: #64748b;
        --safe-top: env(safe-area-inset-top, 0px);
        --safe-bottom: env(safe-area-inset-bottom, 0px);
        --header-h: 58px;
        --nav-h: 68px;
    }

    /* PWA Standalone Mode - Status Bar & Dynamic Island Safe Area Protection */
    @media all and (display-mode: standalone) {
        :root {
            --safe-top: max(env(safe-area-inset-top), 24px);
        }
    }
    @supports (-webkit-touch-callout: none) {
        @media all and (display-mode: standalone) {
            :root {
                --safe-top: max(env(safe-area-inset-top), 28px);
            }
        }
    }
    html.pwa-standalone {
        --safe-top: max(env(safe-area-inset-top), 28px) !important;
    }

    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
    }

    html {
        height: 100%;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background: var(--bg);
        color: var(--text);
        min-height: 100%;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        -webkit-font-smoothing: antialiased;
        box-sizing: border-box;
    }

    /* Sadece sidebar / mobil app shell olan sayfalarda üst ve alt navigasyon boşlukları */
    body.has-sidebar,
    body:has(.app-sidebar) {
        padding-top: calc(var(--header-h) + var(--safe-top) + 6px);
        padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 10px);
    }

    /* Text Safety & Anti-Overflow */
    .text-break-word, .break-word {
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }
    .min-w-0 {
        min-width: 0 !important;
    }

    /* ══ TOPBAR / APP-HEADER (RESPONSIVE) ═════════════════════ */
    .app-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding-top: var(--safe-top);
        height: calc(var(--header-h) + var(--safe-top));
        background: #0f172a;
        border-bottom: 1px solid #1e293b;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        box-sizing: border-box;
    }

    /* ══ GLOBAL CENTERED PAGE TRANSITION LOADER (PWA SMOOTH NAV) ══ */
    .inosaha-global-loader {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(15, 23, 42, 0.35);
        backdrop-filter: blur(2.5px);
        -webkit-backdrop-filter: blur(2.5px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease;
    }
    .inosaha-global-loader.show {
        opacity: 1;
        pointer-events: auto;
    }
    .inosaha-loader-box {
        background: rgba(15, 23, 42, 0.94);
        color: #ffffff;
        padding: 16px 24px;
        border-radius: 16px;
        box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        transform: scale(0.92);
        transition: transform 0.15s ease;
    }
    .inosaha-global-loader.show .inosaha-loader-box {
        transform: scale(1);
    }
    .inosaha-spinner {
        width: 32px;
        height: 32px;
        border: 3px solid rgba(255, 255, 255, 0.2);
        border-top-color: #38bdf8;
        border-radius: 50%;
        animation: inosahaSpin 0.65s linear infinite;
    }
    .inosaha-loader-text {
        font-size: 12px;
        font-weight: 700;
        color: #f1f5f9;
        letter-spacing: 0.3px;
    }
    @keyframes inosahaSpin {
        to { transform: rotate(360deg); }
    }

    .header-inner {
        max-width: 1400px;
        height: 100%;
        margin: 0 auto;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .header-left {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .header-logo {
        height: 36px;
        width: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 18px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .header-title-box {
        min-width: 0;
    }

    .header-title {
        font-size: 16px;
        font-weight: 800;
        color: #ffffff;
        letter-spacing: -0.3px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-sub {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.65);
        margin-top: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Desktop Navigation Tabs (Hidden on Mobile) */
    .header-desktop-nav {
        display: none;
        align-items: center;
        gap: 4px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .desktop-nav-link {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 13.5px;
        font-weight: 700;
        padding: 8px 14px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        transition: all 0.15s ease;
    }

    .desktop-nav-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
    }

    .desktop-nav-link.active {
        color: #ffffff;
        background: var(--primary);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .header-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        border: none;
        color: white;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        cursor: pointer;
        transition: background 0.15s;
    }

    .header-btn:active, .header-btn:hover {
        background: rgba(255, 255, 255, 0.22);
        color: white;
    }

    /* ══ BOTTOM NAVIGATION (MOBILE - MODERN FLOATING DOCK) ═══ */
    .app-nav {
        position: fixed;
        bottom: 10px;
        bottom: max(10px, env(safe-area-inset-bottom, 10px));
        left: 12px;
        right: 12px;
        z-index: 1000;
        height: 64px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1.5px solid rgba(226, 232, 240, 0.95);
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0 8px;
        box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #64748b;
        font-size: 10.5px;
        font-weight: 700;
        gap: 3px;
        padding: 6px 4px;
        border-radius: 16px;
        position: relative;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    button.nav-item {
        background: transparent;
        border: none;
        outline: none;
        cursor: pointer;
        font-family: inherit;
        line-height: inherit;
    }

    .nav-item i {
        font-size: 19px;
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
    }

    .nav-item.active {
        color: #2563eb;
        background: #eff6ff;
    }

    .nav-item.active i {
        transform: scale(1.1);
        color: #2563eb;
    }

    .nav-center {
        flex: 0 0 62px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        position: relative;
    }

    .nav-center-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #ffffff;
        margin-top: -26px;
        box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
        border: 3.5px solid #ffffff;
        transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
    }

    .nav-center-btn:active {
        transform: scale(0.92) translateY(-26px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

    .nav-center-label {
        font-size: 10px;
        font-weight: 800;
        color: #2563eb;
        letter-spacing: 0.2px;
        margin-top: 2px;
    }

    /* ══ PAGE CONTENT WRAPPER ═════════════════════════════════ */
    .page-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 16px 14px;
        width: 100%;
    }

    /* ══ CARDS & SURFACES (MODERN LINEAR / STRIPE STANDARD) ══ */
    .card {
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
        margin-bottom: 16px;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .card-hd {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #f1f5f9;
        font-weight: 700;
        background: #ffffff;
    }

    .card-hd-title {
        font-size: 14.5px;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #0f172a;
        letter-spacing: -0.2px;
    }

    .card-hd-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }

    .card-bd {
        padding: 18px 20px;
    }

    /* ══ STATS GRID (RESPONSIVE) ═══════════════════════════════ */
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }

    .stat-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 18px 20px 16px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        border: 1px solid var(--border);
        transition: all 0.15s ease;
    }
    .stat-card:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    }

    .stat-num {
        font-size: 28px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.5px;
    }

    .stat-lbl {
        font-size: 12px;
        font-weight: 600;
        opacity: 0.85;
        margin-top: 6px;
    }

    .stat-bg-icon {
        position: absolute;
        right: 12px;
        bottom: 8px;
        font-size: 36px;
        opacity: 0.12;
    }

    /* ══ RESPONSIVE CARD GRID ═════════════════════════════════ */
    .responsive-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ══ JOB CARDS (DISTINCT & EYE-FRIENDLY HIERARCHY) ══════ */
    .job-card {
        background: #ffffff;
        border: 1.5px solid #e2e8f0;
        border-left: 6px solid #2563eb;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
        text-decoration: none;
        color: var(--text);
        display: block;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
    }

    .job-card:hover {
        border-color: #cbd5e1;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        transform: translateY(-2px);
    }

    .job-card.is-done {
        border-left-color: #10b981;
    }

    .job-card.is-active {
        border-left-color: #2563eb;
        background: #fbfdff;
    }

    .job-card.is-acil {
        border-left-color: #dc2626;
        background: #fffafa;
    }

    .job-card.is-noshow {
        border-left-color: #f59e0b;
        background: #fffdfa;
    }

    .job-card.is-cancelled {
        border-left-color: #94a3b8;
        background: #f8fafc;
        opacity: 0.8;
    }

    .job-card.is-pending {
        border-left-color: #64748b;
    }

    .job-stripe {
        height: 2px;
        opacity: 0.8;
    }

    .job-stripe.acil { background: #ef4444; }
    .job-stripe.normal { background: #1e40af; }
    .job-stripe.planli { background: #10b981; }

    .job-bd {
        padding: 18px 20px 16px;
    }

    .job-ft {
        padding: 12px 20px;
        background: #f8fafc;
        border-top: 1px solid #f1f5f9;
        display: flex;
        gap: 8px;
    }

    /* ══ PILLS & DOT BADGES (ENTERPRISE SLATE-NAVY) ══════════ */
    .badge-dot {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: 0.2px;
        border: 1px solid transparent;
        white-space: nowrap;
    }
    .badge-dot::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
    }
    .badge-dot.badge-dot-success, .badge-dot-done {
        background: #f0fdf4;
        color: #166534;
        border-color: #bbf7d0;
    }
    .badge-dot.badge-dot-success::before, .badge-dot-done::before {
        background: #16a34a;
    }
    .badge-dot.badge-dot-primary, .badge-dot-active {
        background: #eff6ff;
        color: #1e40af;
        border-color: #bfdbfe;
    }
    .badge-dot.badge-dot-primary::before, .badge-dot-active::before {
        background: #2563eb;
    }
    .badge-dot.badge-dot-warning, .badge-dot-pending {
        background: #fffbeb;
        color: #92400e;
        border-color: #fde68a;
    }
    .badge-dot.badge-dot-warning::before, .badge-dot-pending::before {
        background: #d97706;
    }
    .badge-dot.badge-dot-danger, .badge-dot-acil {
        background: #fef2f2;
        color: #991b1b;
        border-color: #fecaca;
    }
    .badge-dot.badge-dot-danger::before, .badge-dot-acil::before {
        background: #dc2626;
    }
    .badge-dot.badge-dot-slate {
        background: #f1f5f9;
        color: #334155;
        border-color: #cbd5e1;
    }
    .badge-dot.badge-dot-slate::before {
        background: #64748b;
    }

    .pill {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 11.5px;
        font-weight: 700;
        border: 1px solid #e2e8f0;
    }

    .pill-pending { background: #fffbeb; color: #92400e; border-color: #fde68a; }
    .pill-active  { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
    .pill-done    { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
    .pill-type    { background: #f8fafc; color: #334155; border-color: #e2e8f0; }
    .pill-acil    { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

    /* ══ BUTTONS ═══════════════════════════════════════════════ */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 9px 16px;
        border-radius: 6px;
        font-size: 13.5px;
        font-weight: 600;
        border: 1px solid transparent;
        cursor: pointer;
        text-decoration: none;
        transition: background-color 0.15s ease, border-color 0.15s ease;
    }

    .btn-full { width: 100%; }
    .btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 6px; }
    .btn-xl { padding: 12px 20px; font-size: 15px; border-radius: 8px; }
    
    .btn-primary { background: #1e40af; border-color: #1e3a8a; color: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
    .btn-primary:hover { background: #1d4ed8; color: #ffffff; }
    .btn-success { background: #059669; border-color: #047857; color: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
    .btn-success:hover { background: #047857; color: #ffffff; }
    .btn-danger  { background: #dc2626; border-color: #b91c1c; color: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
    .btn-danger:hover { background: #b91c1c; color: #ffffff; }
    .btn-warning { background: #d97706; border-color: #b45309; color: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
    .btn-warning:hover { background: #b45309; color: #ffffff; }
    .btn-purple  { background: #6366f1; border-color: #4f46e5; color: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
    .btn-ghost   { background: #f1f5f9; border-color: #e2e8f0; color: #334155; }
    .btn-ghost:hover { background: #e2e8f0; }
    .btn-circle  { width: 38px; height: 38px; padding: 0; border-radius: 6px; flex-shrink: 0; }
    .btn-call    { background: #059669; border-color: #047857; color: #ffffff; }

    /* ══ CUSTOMER ROWS & AVATARS ═══════════════════════════════ */
    .cust-row {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #f8fafc;
        border-radius: 13px;
        padding: 12px 14px;
    }

    .avatar {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        flex-shrink: 0;
        background: linear-gradient(135deg, #0f172a, #1e3a5f);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 800;
        color: white;
    }

    .avatar-name { font-size: 15px; font-weight: 800; }
    .avatar-sub  { font-size: 12px; color: var(--muted); margin-top: 1px; }

    /* ══ FORM CONTROLS ═════════════════════════════════════════ */
    .field { margin-bottom: 14px; }
    .field label {
        display: block;
        font-size: 11px;
        font-weight: 800;
        color: var(--muted);
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
    }
    .input {
        width: 100%;
        padding: 13px 16px;
        font-size: 16px;
        border: 1.5px solid var(--border);
        border-radius: 12px;
        background: white;
        color: var(--text);
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
        font-family: inherit;
    }
    .input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }
    textarea.input { resize: none; }
    .input-row { display: grid; gap: 10px; }
    .input-row.col2 { grid-template-columns: 1fr 1fr; }
    .input-row.col3 { grid-template-columns: 1fr 1fr 1fr; }
    @media (max-width: 576px) {
        .input-row.col2, .input-row.col3 {
            grid-template-columns: 1fr !important;
        }
    }



    /* ══ GLOBAL SAAS FILTER STANDARDS (LINEAR / STRIPE / JOBBER) ══ */
    .saas-filter-input, .saas-filter-select {
        height: 42px !important;
        padding: 0 14px !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        background-color: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 10px !important;
        line-height: 40px !important;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
        transition: all 0.2s ease !important;
        width: 100%;
        box-sizing: border-box !important;
    }
    .saas-filter-input:focus, .saas-filter-select:focus {
        border-color: #2563eb !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
        background-color: #ffffff !important;
    }
    .saas-filter-input::placeholder {
        color: #64748b !important;
        font-weight: 500 !important;
    }
    select.saas-filter-select {
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: right 14px center !important;
        background-size: 12px 10px !important;
        padding-right: 36px !important;
        appearance: none !important;
        -webkit-appearance: none !important;
    }

    /* ══ NOTICES & ALERTS ══════════════════════════════════════ */
    .notice {
        border-radius: 8px;
        padding: 12px 14px;
        font-size: 13px;
        margin-bottom: 12px;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        line-height: 1.5;
    }
    .notice.warn    { background: #fffbeb; color: #92400e; }
    .notice.info    { background: #eff6ff; color: #1e40af; }
    .notice.danger  { background: #fef2f2; color: #991b1b; }
    .notice.success { background: #f0fdf4; color: #065f46; }

    /* ══ TIMELINE, SIG & PHOTOS ════════════════════════════════ */
    .photo-box { border: 1px dashed; border-radius: 8px; padding: 16px; text-align: center; margin-bottom: 12px; }
    .photo-box.before { border-color: #f59e0b; background: #fffbeb; }
    .photo-box.after  { border-color: #10b981; background: #f0fdf4; }
    .photo-box img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; display: none; }
    .photo-box-label { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
    .photo-box.before .photo-box-label { color: #92400e; }
    .photo-box.after  .photo-box-label { color: #065f46; }
    .cam-wrap { position: relative; display: inline-block; }
    .cam-wrap input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
    .photo-ok { font-size: 12px; font-weight: 700; color: #065f46; margin-top: 6px; display: none; }

    .sig-canvas { width: 100%; height: 160px; border: 1px dashed #cbd5e1; border-radius: 8px; touch-action: none; background: white; display: block; }
    .tl { display: flex; flex-direction: column; }
    .tl-item { display: flex; gap: 12px; padding-bottom: 14px; position: relative; }
    .tl-item::before { content: ''; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: #f1f5f9; }
    .tl-item:last-child::before { display: none; }
    .tl-dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
    .tl-dot.start    { background: #dbeafe; }
    .tl-dot.update   { background: #f3e8ff; }
    .tl-dot.complete { background: #d1fae5; }
    .tl-body { flex: 1; background: #f8fafc; border-radius: 12px; padding: 10px 14px; }
    .tl-who  { font-weight: 800; font-size: 13px; }
    .tl-note { font-size: 13px; color: var(--muted); margin-top: 3px; }
    .tl-time { font-size: 11px; color: #94a3b8; margin-top: 4px; }

    .mat-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f5f9; gap: 10px; }
    .mat-row:last-child { border-bottom: none; }
    .mat-info { flex: 1; }
    .mat-name { font-weight: 700; font-size: 14px; }
    .mat-sub  { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .mat-price { font-weight: 900; font-size: 15px; color: #059669; }
    .edit-mat-btn { width: 30px; height: 30px; border-radius: 8px; background: #eff6ff; border: none; color: #2563eb; font-size: 13px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all 0.15s ease; }
    .edit-mat-btn:hover { background: #dbeafe; color: #1d4ed8; }
    .del-btn { width: 30px; height: 30px; border-radius: 8px; background: #fee2e2; border: none; color: #ef4444; font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all 0.15s ease; }
    .del-btn:hover { background: #fecaca; color: #dc2626; }

    .type-grid { display: flex; flex-wrap: wrap; gap: 8px; }
    .type-chip { padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: white; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.15s; }
    .type-chip.active { border-color: var(--primary); background: #eff6ff; color: var(--primary); }

    .sec-title { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.7px; margin: 20px 0 10px; }
    .meta-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 6px; }
    .meta-row i { width: 16px; text-align: center; font-size: 12px; }
    .empty { text-align: center; padding: 48px 20px; color: var(--muted); }
    .empty-icon { font-size: 48px; margin-bottom: 12px; display: block; }
    .empty-title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
    .empty-sub { font-size: 13px; }

    /* ═════════════════════════════════════════════════════════
       ULTRA-MODERN DESKTOP & WEB NOTIFICATION TOAST
       High Contrast / Crisp Typography / Dark Slate Luxury
    ═════════════════════════════════════════════════════════ */
    .toast-wrap { 
        position: fixed; 
        top: 24px; 
        right: 24px; 
        z-index: 999999; 
        pointer-events: none; 
        display: flex; 
        flex-direction: column; 
        gap: 12px; 
        max-width: 440px; 
        width: calc(100% - 32px); 
    }
    .toast { 
        pointer-events: auto; 
        padding: 16px 18px; 
        border-radius: 16px; 
        font-size: 13.5px; 
        font-weight: 500; 
        box-shadow: 0 20px 35px -5px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3); 
        transform: translateX(120%); 
        opacity: 0; 
        transition: all 0.32s cubic-bezier(0.16,1,0.3,1); 
        margin-bottom: 0; 
        display: flex; 
        align-items: flex-start; 
        gap: 14px; 
        background: #0f172a !important; 
        color: #f8fafc !important; 
        border: 1px solid #334155 !important; 
        position: relative;
    }
    .toast.show { transform: translateX(0); opacity: 1; }
    .toast.ok   { border-left: 5px solid #10b981 !important; }
    .toast.err  { border-left: 5px solid #ef4444 !important; }
    .toast.info { border-left: 5px solid #3b82f6 !important; }
    .toast.warn { border-left: 5px solid #f59e0b !important; }

    .toast .toast-icon-wrap {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
        margin-top: 1px;
    }
    .toast.ok .toast-icon-wrap   { background: rgba(16, 185, 129, 0.22); color: #34d399; }
    .toast.err .toast-icon-wrap  { background: rgba(239, 68, 68, 0.22);  color: #f87171; }
    .toast.info .toast-icon-wrap { background: rgba(59, 130, 246, 0.22); color: #60a5fa; }
    .toast.warn .toast-icon-wrap { background: rgba(245, 158, 11, 0.22); color: #fbbf24; }

    .toast .toast-body-wrap {
        flex: 1;
        min-width: 0;
    }
    .toast .toast-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 5px;
    }
    .toast .toast-badge {
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        padding: 3px 8px;
        border-radius: 6px;
        display: inline-block;
    }
    .toast.ok .toast-badge   { background: rgba(16, 185, 129, 0.25); color: #6ee7b7; }
    .toast.err .toast-badge  { background: rgba(239, 68, 68, 0.25);  color: #fca5a5; }
    .toast.info .toast-badge { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
    .toast.warn .toast-badge { background: rgba(245, 158, 11, 0.25); color: #fde68a; }

    .toast .toast-time {
        font-size: 11px;
        color: #94a3b8;
        font-weight: 600;
    }

    .toast .toast-title {
        font-size: 15px;
        font-weight: 800;
        color: #ffffff !important;
        line-height: 1.35;
        margin-bottom: 4px;
        letter-spacing: -0.2px;
        word-break: break-word;
    }

    .toast .toast-desc {
        font-size: 13.5px;
        font-weight: 500;
        color: #e2e8f0 !important;
        line-height: 1.5;
        word-break: break-word;
    }

    .toast .toast-action {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 9px;
        font-size: 12.5px;
        font-weight: 700;
        color: #60a5fa !important;
        text-decoration: none;
        transition: color 0.15s;
    }
    .toast .toast-action:hover {
        color: #93c5fd !important;
        text-decoration: underline;
    }

    .toast .toast-close-btn {
        background: transparent;
        border: none;
        color: #94a3b8;
        cursor: pointer;
        font-size: 15px;
        padding: 4px 6px;
        line-height: 1;
        border-radius: 6px;
        transition: all 0.15s;
        margin-left: 4px;
        flex-shrink: 0;
    }
    .toast .toast-close-btn:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
    }
    @media (max-width: 768px) {
        .toast-wrap { top: 14px; right: 14px; left: 14px; max-width: none; width: auto; }

        /* Mobilde İçerik ve Kart Boşlukları (Sıkışma ve Taşmayı %100 Önleme) */
        .page-content {
            padding: 12px 10px calc(88px + env(safe-area-inset-bottom, 12px)) 10px !important;
            box-sizing: border-box !important;
            overflow-x: hidden !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        /* İş Kartları (İş Listesi & Usta/Patron Dashboard) */
        .job-card, .dash-job-item {
            padding: 13px 14px !important;
            margin-bottom: 12px !important;
            border-radius: 14px !important;
            border-left-width: 5px !important;
            box-shadow: 0 1px 3px rgba(15,23,42,0.05) !important;
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        .job-bd {
            padding: 0 !important;
        }

        .job-ft {
            padding: 10px 0 0 0 !important;
            margin-top: 10px !important;
            border-top: 1px solid #f1f5f9 !important;
            background: transparent !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 8px !important;
        }

        /* Kart Başlığı ve Tür Rozeti */
        .pill-type {
            max-width: calc(100% - 105px) !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            font-size: 11px !important;
            padding: 3px 8px !important;
        }

        /* Müşteri Satırı */
        .cust-row {
            padding: 8px 10px !important;
            border-radius: 10px !important;
            margin-bottom: 8px !important;
            gap: 8px !important;
            box-sizing: border-box !important;
        }

        /* Ara ve WhatsApp Butonları */
        .btn-call, .btn-wa {
            height: 36px !important;
            min-width: 36px !important;
            padding: 0 10px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            border-radius: 8px !important;
            font-size: 12px !important;
        }

        /* Yol Tarifi Butonu */
        .btn-nav {
            padding: 4px 9px !important;
            font-size: 11px !important;
            border-radius: 7px !important;
            font-weight: 700 !important;
            flex-shrink: 0 !important;
        }

        /* Usta Dashboard Üst Karşılama Kartı */
        .dash-header-card {
            padding: 14px 16px !important;
            border-radius: 14px !important;
            gap: 12px !important;
            flex-direction: column !important;
            align-items: stretch !important;
        }
        .dash-header-card .btn {
            width: 100% !important;
            justify-content: center !important;
            min-height: 44px !important;
            height: auto !important;
        }

        /* Usta KPI Kartları */
        .dash-kpi-card {
            padding: 12px 14px !important;
            border-radius: 14px !important;
        }

        /* Dashboard Bölüm Kartı */
        .dash-section-card {
            border-radius: 14px !important;
            margin-bottom: 14px !important;
        }
        .dash-section-hd {
            padding: 12px 14px !important;
        }

        /* Adres Metni: Mobilde tek satırda ezilmek yerine 2 satırda net görünüm */
        .job-address-clamp {
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            word-break: break-word !important;
            line-height: 1.35 !important;
        }

        /* Responsive Grid Mobilde %100 Genişlik */
        .responsive-grid {
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
            width: 100% !important;
        }
    }

    /* ═════════════════════════════════════════════════════════
       DESKTOP & TABLET ADAPTATIONS (EXACT SAME DESIGN SYSTEM)
    ═════════════════════════════════════════════════════════ */
    /* ═════════════════════════════════════════════════════════
       ENTERPRISE B2B SAAS DUAL LAYOUT: SIDEBAR (DESKTOP) + APP SHELL (MOBILE)
    ═════════════════════════════════════════════════════════ */
    .app-sidebar {
        display: none;
    }
    .app-desktop-header {
        display: none;
    }

    @media (min-width: 992px) {
        /* SADECE SİDEBAR OLAN SAYFALARDA 260px SOL BOŞLUK */
        body.has-sidebar,
        body:has(.app-sidebar) {
            margin-left: 0 !important;
            padding-left: 260px !important;
            padding-top: 0 !important;
            padding-bottom: 24px !important;
            background: #f8fafc !important;
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        /* Sidebar olmayan sayfalarda sıfır sol boşluk */
        body:not(.has-sidebar):not(:has(.app-sidebar)) {
            padding-left: 0 !important;
            margin-left: 0 !important;
            padding-top: 0 !important;
        }

        /* Hide Mobile Topbar & Mobile Bottom Bar on Desktop */
        .app-header {
            display: none !important;
        }
        .app-nav {
            display: none !important;
        }

        /* Show Enterprise Sidebar */
        .app-sidebar {
            display: flex !important;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            width: 260px;
            background: #090d16;
            border-right: 1px solid #1e293b;
            z-index: 1040;
            overflow-y: auto;
            color: #ffffff;
        }

        /* Show Enterprise Topbar */
        .app-desktop-header {
            display: flex !important;
            align-items: center;
            justify-content: space-between;
            height: 64px;
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            padding: 0 28px;
            position: sticky;
            top: 0;
            z-index: 1020;
            box-shadow: 0 1px 3px rgba(15,23,42,0.03);
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        .page-content {
            padding: 24px 28px !important;
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin: 0 !important;
        }

        /* 4 Columns for KPI Stats on Desktop */
        .stats-grid {
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 16px;
        }

        /* Responsive Grids for Job & Customer Cards */
        .responsive-grid {
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 16px;
        }

        /* 2-Column Responsive Detail Layout for Desktop */
        .detail-grid {
            display: grid !important;
            grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr) !important;
            gap: 20px !important;
            align-items: start !important;
        }

        .detail-main {
            order: 1 !important;
            min-width: 0 !important;
        }

        .detail-side {
            order: 2 !important;
            min-width: 0 !important;
        }
    }

    .sidebar-brand {
        padding: 20px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: white;
    }
    .sidebar-brand:hover {
        color: white;
    }
    .sidebar-brand-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: #2563eb;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: white;
        flex-shrink: 0;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    }
    .sidebar-menu {
        padding: 12px 10px;
        flex: 1;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
    }
    .sidebar-menu::-webkit-scrollbar {
        width: 4px;
    }
    .sidebar-menu::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 9999px;
    }
    .sidebar-group {
        margin-bottom: 14px;
    }
    .sidebar-section-title {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        color: #475569;
        text-transform: uppercase;
        padding: 8px 12px 4px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .sidebar-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        color: #94a3b8;
        text-decoration: none;
        transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
        margin-bottom: 2px;
        position: relative;
        white-space: nowrap;
    }
    .sidebar-link .sidebar-icon-box {
        width: 26px;
        height: 26px;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.03);
        color: #64748b;
        font-size: 13px;
        transition: all 0.16s ease;
        flex-shrink: 0;
    }
    .sidebar-link:hover {
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.06);
    }
    .sidebar-link:hover .sidebar-icon-box {
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
    }
    .sidebar-link.active {
        color: #ffffff;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        font-weight: 700;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    }
    .sidebar-link.active .sidebar-icon-box {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }
    .sidebar-badge {
        margin-left: auto;
        font-size: 10px;
        font-weight: 800;
        padding: 2px 7px;
        border-radius: 9999px;
        letter-spacing: 0.3px;
        white-space: nowrap;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        line-height: 1.2;
    }
    .sidebar-badge.badge-primary {
        background: rgba(37, 99, 235, 0.25);
        color: #60a5fa;
        border: 1px solid rgba(59, 130, 246, 0.35);
    }
    .sidebar-badge.badge-live {
        background: rgba(239, 68, 68, 0.2);
        color: #f87171;
        border: 1px solid rgba(239, 68, 68, 0.35);
    }
    .sidebar-badge.badge-warning {
        background: rgba(245, 158, 11, 0.2);
        color: #fbbf24;
        border: 1px solid rgba(245, 158, 11, 0.35);
    }
    .sidebar-badge.badge-secondary {
        background: rgba(148, 163, 184, 0.2);
        color: #cbd5e1;
        border: 1px solid rgba(148, 163, 184, 0.35);
    }

    /* ══ SIDEBAR SUBMENU / ACCORDION COMPONENT ══════════════ */
    .sidebar-item {
        position: relative;
        margin-bottom: 2px;
    }
    .sidebar-link.sidebar-parent-btn {
        cursor: pointer;
        user-select: none;
        width: 100%;
        border: none;
        background: transparent;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        color: #94a3b8;
        transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .sidebar-link.sidebar-parent-btn:hover {
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.06);
    }
    .sidebar-link.sidebar-parent-btn:hover .sidebar-icon-box {
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
    }
    .sidebar-chevron {
        margin-left: auto;
        font-size: 10.5px;
        color: #64748b;
        transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.16s ease;
        flex-shrink: 0;
    }
    .sidebar-item.has-submenu.is-open > .sidebar-parent-btn .sidebar-chevron {
        transform: rotate(90deg);
        color: #93c5fd;
    }
    .sidebar-item.has-submenu.is-open > .sidebar-parent-btn {
        color: #ffffff;
    }
    .sidebar-parent-btn.has-active-child {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.04);
        font-weight: 700;
    }
    .sidebar-parent-btn.has-active-child .sidebar-icon-box {
        background: rgba(59, 130, 246, 0.22);
        color: #60a5fa;
    }
    .sidebar-parent-btn.has-active-child .sidebar-chevron {
        color: #60a5fa;
    }
    .sidebar-submenu {
        margin-left: 20px;
        padding-left: 10px;
        border-left: 1.5px solid rgba(255, 255, 255, 0.08);
        margin-top: 3px;
        margin-bottom: 6px;
        display: none;
        flex-direction: column;
        gap: 1.5px;
    }
    .sidebar-item.has-submenu.is-open > .sidebar-submenu {
        display: flex;
        animation: inosahaSubmenuFadeIn 0.2s ease-out;
    }
    @keyframes inosahaSubmenuFadeIn {
        from { opacity: 0; transform: translateY(-4px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .sidebar-sublink {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        border-radius: 8px;
        font-size: 12.5px;
        font-weight: 500;
        color: #94a3b8;
        text-decoration: none;
        transition: all 0.14s ease;
        position: relative;
    }
    .sidebar-sublink:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.06);
    }
    .sidebar-subdot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #475569;
        flex-shrink: 0;
        transition: all 0.14s ease;
    }
    .sidebar-sublink:hover .sidebar-subdot {
        background: #93c5fd;
    }
    .sidebar-subicon {
        font-size: 11.5px;
        width: 14px;
        text-align: center;
        color: #64748b;
        flex-shrink: 0;
    }
    .sidebar-sublink:hover .sidebar-subicon {
        color: #93c5fd;
    }
    .sidebar-sublink.active {
        color: #ffffff;
        background: rgba(37, 99, 235, 0.18);
        border: 1px solid rgba(59, 130, 246, 0.28);
        font-weight: 700;
    }
    .sidebar-sublink.active .sidebar-subdot {
        background: #3b82f6;
        box-shadow: 0 0 8px #3b82f6;
        transform: scale(1.3);
    }
    .sidebar-sublink.active .sidebar-subicon {
        color: #60a5fa;
    }

    /* ══ MOBILE ADMIN DRAWER STYLES ══════════════ */
    .drawer-category-box {
        margin-bottom: 18px;
    }
    .drawer-category-title {
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #64748b;
        margin-bottom: 9px;
        padding-left: 4px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .drawer-category-title i {
        font-size: 11px;
        color: #94a3b8;
    }
    .drawer-item-card {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 11px 8px 9px 8px;
        text-align: center;
        text-decoration: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        transition: all 0.15s ease;
    }
    .drawer-item-card:hover, .drawer-item-card:active {
        background: #f1f5f9;
        border-color: #cbd5e1;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .drawer-item-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        margin-bottom: 6px;
    }
    .drawer-item-title {
        font-size: 12px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.25;
        margin-bottom: 2px;
        display: block;
    }
    .drawer-item-desc {
        font-size: 10px;
        color: #64748b;
        line-height: 1.2;
        display: block;
    }

    .sidebar-footer {
        padding: 12px 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        background: #050811;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* ══ QUICK ACTION BUTTONS (MOBILE & DESKTOP) ══════════════ */
    .btn-wa {
        background: #25D366 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 14px !important;
        text-decoration: none !important;
        border: none !important;
        font-size: 12.5px !important;
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25) !important;
        transition: all 0.15s ease !important;
    }
    .btn-wa:hover {
        background: #20ba5a !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }
    .btn-call {
        background: #0f172a !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 14px !important;
        text-decoration: none !important;
        border: none !important;
        font-size: 12.5px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2) !important;
        transition: all 0.15s ease !important;
    }
    .btn-call:hover {
        background: #1e293b !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }
    .btn-nav {
        background: #eff6ff !important;
        color: #1e40af !important;
        border: 1px solid #bfdbfe !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 14px !important;
        text-decoration: none !important;
        font-size: 12.5px !important;
        transition: all 0.15s ease !important;
    }
    .btn-nav:hover {
        background: #dbeafe !important;
        color: #1e40af !important;
        transform: translateY(-1px);
    }

    /* ══ DETAIL PAGE RESPONSIVE 2-COLUMN LAYOUT ═══════════════ */
    .detail-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
    }

    @media (min-width: 992px) {
        .detail-grid {
            grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.85fr) !important;
            gap: 24px !important;
        }
    }

    /* ══ MOBİL FORM INPUT ODAKLANMASINDA SAYFA BÜYÜTMEYİ (AUTO-ZOOM) %100 ENGELLEME (iOS & Android) ══ */
    @media screen and (max-width: 991.98px) {
        input,
        select,
        textarea,
        .input,
        .form-control,
        .form-select,
        .saas-filter-input,
        .saas-filter-select,
        .form-control-sm,
        .form-select-sm,
        .input-group input,
        .input-group select,
        input[type="text"],
        input[type="search"],
        input[type="tel"],
        input[type="number"],
        input[type="email"],
        input[type="password"],
        input[type="url"],
        input[type="date"],
        input[type="time"],
        input[type="datetime-local"] {
            font-size: 16px !important;
            -webkit-text-size-adjust: 100% !important;
            text-size-adjust: 100% !important;
        }
    }

    /* Çift dokunma gecikmesini ve istenmeyen yakınlaştırmaları engelle */
    html, body, input, select, textarea, button, .btn, .input, .form-control, .form-select, .saas-filter-input, .saas-filter-select {
        touch-action: manipulation;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* ══ ÇİFT AŞAĞI OK (DOUBLE ARROW) KESİN ÖNLEYİCİ STANDART (macOS / Safari / Chrome / iOS) ══ */
    select,
    .form-select,
    .form-select-sm,
    .saas-filter-select {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
    }
    select::-ms-expand {
        display: none !important;
    }
/* ═══════════════════════════════════════════════════════════════
   TAILWIND-FREE UNIFIED UTILITY & COMPONENT SYSTEM
   (Tüm CDN bağımlılıklarını sıfırlayan dahili kurumsal motor)
   ═══════════════════════════════════════════════════════════════ */

/* Layout & Flexbox */
.w-auto { width: auto !important; }
.w-full { width: 100% !important; }
.h-auto { height: auto !important; }
.h-full { height: 100% !important; }
.min-w-0 { min-width: 0 !important; }
.min-w-full { min-width: 100% !important; }
.min-h-0 { min-height: 0 !important; }
.min-h-screen { min-height: 100vh !important; min-height: 100dvh !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }

.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-grow { flex-grow: 1 !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.items-stretch { align-items: stretch !important; }
.items-baseline { align-items: baseline !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-start { justify-content: flex-start !important; }

/* Grid Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }

/* Column Spans */
.col-span-1 { grid-column: span 1 / span 1 !important; }
.col-span-2 { grid-column: span 2 / span 2 !important; }
.col-span-3 { grid-column: span 3 / span 3 !important; }
.col-span-4 { grid-column: span 4 / span 4 !important; }
.col-span-full { grid-column: 1 / -1 !important; }

/* Sizing Utilities (Width & Height) */
.w-0\.5 { width: 0.125rem !important; }
.w-1 { width: 0.25rem !important; }
.w-1\.5 { width: 0.375rem !important; }
.w-2 { width: 0.5rem !important; }
.w-2\.5 { width: 0.625rem !important; }
.w-3 { width: 0.75rem !important; }
.w-3\.5 { width: 0.875rem !important; }
.w-4 { width: 1rem !important; }
.w-4\.5 { width: 1.125rem !important; }
.w-5 { width: 1.25rem !important; }
.w-6 { width: 1.5rem !important; }
.w-7 { width: 1.75rem !important; }
.w-8 { width: 2rem !important; }
.w-9 { width: 2.25rem !important; }
.w-10 { width: 2.5rem !important; }
.w-11 { width: 2.75rem !important; }
.w-12 { width: 3rem !important; }
.w-14 { width: 3.5rem !important; }
.w-16 { width: 4rem !important; }
.w-20 { width: 5rem !important; }
.w-24 { width: 6rem !important; }
.w-28 { width: 7rem !important; }
.w-32 { width: 8rem !important; }
.w-36 { width: 9rem !important; }
.w-40 { width: 10rem !important; }
.w-48 { width: 12rem !important; }
.w-56 { width: 14rem !important; }
.w-64 { width: 16rem !important; }

.h-0\.5 { height: 0.125rem !important; }
.h-1 { height: 0.25rem !important; }
.h-1\.5 { height: 0.375rem !important; }
.h-2 { height: 0.5rem !important; }
.h-2\.5 { height: 0.625rem !important; }
.h-3 { height: 0.75rem !important; }
.h-3\.5 { height: 0.875rem !important; }
.h-4 { height: 1rem !important; }
.h-4\.5 { height: 1.125rem !important; }
.h-5 { height: 1.25rem !important; }
.h-6 { height: 1.5rem !important; }
.h-7 { height: 1.75rem !important; }
.h-8 { height: 2rem !important; }
.h-9 { height: 2.25rem !important; }
.h-10 { height: 2.5rem !important; }
.h-11 { height: 2.75rem !important; }
.h-12 { height: 3rem !important; }
.h-14 { height: 3.5rem !important; }
.h-16 { height: 4rem !important; }
.h-20 { height: 5rem !important; }
.h-24 { height: 6rem !important; }
.h-28 { height: 7rem !important; }
.h-32 { height: 8rem !important; }
.h-36 { height: 9rem !important; }
.h-40 { height: 10rem !important; }
.h-48 { height: 12rem !important; }

/* Max Widths */
.max-w-xs { max-width: 20rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-5xl { max-width: 64rem !important; }
.max-w-full { max-width: 100% !important; }

/* Margin Auto & Alignment */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }
.m-auto { margin: auto !important; }
.ml-auto, .ms-auto { margin-left: auto !important; }
.mr-auto, .me-auto { margin-right: auto !important; }

/* Gaps & Spacing */
.gap-0\.5 { gap: 0.125rem !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-3\.5 { gap: 0.875rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }

.space-y-0\.5 > * + * { margin-top: 0.125rem !important; }
.space-y-1 > * + * { margin-top: 0.25rem !important; }
.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-2\.5 > * + * { margin-top: 0.625rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }
.space-y-3\.5 > * + * { margin-top: 0.875rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-5 > * + * { margin-top: 1.25rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }

.space-x-1 > * + * { margin-left: 0.25rem !important; }
.space-x-1\.5 > * + * { margin-left: 0.375rem !important; }
.space-x-2 > * + * { margin-left: 0.5rem !important; }
.space-x-2\.5 > * + * { margin-left: 0.625rem !important; }
.space-x-3 > * + * { margin-left: 0.75rem !important; }
.space-x-4 > * + * { margin-left: 1rem !important; }

/* Padding & Margin */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-1\.5 { padding: 0.375rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-2\.5 { padding: 0.625rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-3\.5 { padding: 0.875rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-7 { padding: 1.75rem !important; }
.p-8 { padding: 2rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-7 { padding-left: 1.75rem !important; padding-right: 1.75rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 0.75rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-5 { padding-top: 1.25rem !important; }
.pt-6 { padding-top: 1.5rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 0.75rem !important; }
.pb-4 { padding-bottom: 1rem !important; }
.pb-5 { padding-bottom: 1.25rem !important; }
.pb-6 { padding-bottom: 1.5rem !important; }
.pb-10 { padding-bottom: 2.5rem !important; }
.pb-12 { padding-bottom: 3rem !important; }
.pb-16 { padding-bottom: 4rem !important; }
.pb-20 { padding-bottom: 5rem !important; }
.pb-24 { padding-bottom: 6rem !important; }

.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 0.75rem !important; }
.pl-4 { padding-left: 1rem !important; }
.pl-8 { padding-left: 2rem !important; }
.pl-9 { padding-left: 2.25rem !important; }
.pl-10 { padding-left: 2.5rem !important; }

.pr-2 { padding-right: 0.5rem !important; }
.pr-3 { padding-right: 0.75rem !important; }
.pr-4 { padding-right: 1rem !important; }
.pr-8 { padding-right: 2rem !important; }
.pr-9 { padding-right: 2.25rem !important; }
.pr-10 { padding-right: 2.5rem !important; }

.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-5 { margin-top: 1.25rem !important; }
.mt-6 { margin-top: 1.5rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-0\.5 { margin-bottom: 0.125rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }

.ml-1, .ms-1 { margin-left: 0.25rem !important; }
.ml-2, .ms-2 { margin-left: 0.5rem !important; }
.mr-1, .me-1 { margin-right: 0.25rem !important; }
.mr-2, .me-2 { margin-right: 0.5rem !important; }

/* Positioning Offsets */
.-right-6 { right: -1.5rem !important; }
.-bottom-6 { bottom: -1.5rem !important; }
.-top-2 { top: -0.5rem !important; }
.-left-2 { left: -0.5rem !important; }
.-mt-5 { margin-top: -1.25rem !important; }
.-mt-4 { margin-top: -1rem !important; }
.-mt-6 { margin-top: -1.5rem !important; }

/* Backgrounds */
.bg-white { background-color: #ffffff !important; }
.bg-slate-50, .bg-gray-50 { background-color: #f8fafc !important; }
.bg-slate-100, .bg-gray-100 { background-color: #f1f5f9 !important; }
.bg-slate-200, .bg-gray-200 { background-color: #e2e8f0 !important; }
.bg-slate-700, .bg-gray-700 { background-color: #334155 !important; }
.bg-slate-800, .bg-gray-800 { background-color: #1e293b !important; }
.bg-slate-900, .bg-gray-900 { background-color: #0f172a !important; }
.bg-brand-50, .bg-blue-50 { background-color: #eff6ff !important; }
.bg-brand-100, .bg-blue-100 { background-color: #dbeafe !important; }
.bg-brand-500, .bg-blue-500 { background-color: #2563eb !important; }
.bg-brand-600, .bg-blue-600 { background-color: #1d4ed8 !important; }
.bg-brand-700, .bg-blue-700 { background-color: #1e40af !important; }
.bg-emerald-50, .bg-green-50 { background-color: #ecfdf5 !important; }
.bg-emerald-500, .bg-green-500 { background-color: #10b981 !important; }
.bg-emerald-600, .bg-green-600 { background-color: #059669 !important; }
.bg-amber-50, .bg-yellow-50 { background-color: #fffbeb !important; }
.bg-amber-500, .bg-yellow-500 { background-color: #f59e0b !important; }
.bg-rose-50, .bg-red-50 { background-color: #fef2f2 !important; }
.bg-rose-100, .bg-red-100 { background-color: #fee2e2 !important; }
.bg-rose-500, .bg-red-500 { background-color: #ef4444 !important; }
.bg-green-100, .bg-emerald-100 { background-color: #dcfce7 !important; }
.bg-purple-50 { background-color: #faf5ff !important; }
.bg-purple-100 { background-color: #f3e8ff !important; }
.bg-purple-500 { background-color: #a855f7 !important; }
.bg-purple-600 { background-color: #9333ea !important; }
.bg-purple-700 { background-color: #7e22ce !important; }
.bg-amber-100, .bg-yellow-100 { background-color: #fef3c7 !important; }
.bg-orange-50 { background-color: #fff7ed !important; }
.bg-orange-100 { background-color: #ffedd5 !important; }
.bg-orange-500 { background-color: #f97316 !important; }
.bg-orange-600 { background-color: #ea580c !important; }

/* Alpha / Translucent Backgrounds & Borders */
.bg-slate-800\/60 { background-color: rgba(30, 41, 59, 0.6) !important; }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8) !important; }
.border-slate-700\/60 { border-color: rgba(51, 65, 85, 0.6) !important; }
.bg-brand-500\/10 { background-color: rgba(37, 99, 235, 0.1) !important; }
.bg-brand-500\/15 { background-color: rgba(37, 99, 235, 0.15) !important; }
.bg-brand-500\/20 { background-color: rgba(37, 99, 235, 0.2) !important; }
.bg-brand-500\/30 { background-color: rgba(37, 99, 235, 0.3) !important; }
.border-brand-500\/20 { border-color: rgba(37, 99, 235, 0.2) !important; }
.border-brand-500\/30 { border-color: rgba(37, 99, 235, 0.3) !important; }

/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(135deg, var(--tw-gradient-stops, #0f172a, #1e293b)) !important; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops, #2563eb, #1d4ed8)) !important; }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops, #ffffff, #f8fafc)) !important; }

.from-slate-900 { --tw-gradient-from: #0f172a; --tw-gradient-to: rgba(15, 23, 42, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.via-slate-800 { --tw-gradient-to: rgba(30, 41, 59, 0); --tw-gradient-stops: var(--tw-gradient-from), #1e293b, var(--tw-gradient-to) !important; }
.to-slate-900 { --tw-gradient-to: #0f172a !important; }
.from-brand-600 { --tw-gradient-from: #1d4ed8; --tw-gradient-to: rgba(29, 78, 216, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.to-brand-700 { --tw-gradient-to: #1e40af !important; }

/* Text Colors */
.text-white { color: #ffffff !important; }
.text-slate-900, .text-gray-900 { color: #0f172a !important; }
.text-slate-800, .text-gray-800 { color: #1e293b !important; }
.text-slate-700, .text-gray-700 { color: #334155 !important; }
.text-slate-600, .text-gray-600 { color: #475569 !important; }
.text-slate-500, .text-gray-500 { color: #64748b !important; }
.text-slate-400, .text-gray-400 { color: #94a3b8 !important; }
.text-slate-300, .text-gray-300 { color: #cbd5e1 !important; }

.text-brand-300, .text-blue-300 { color: #93c5fd !important; }
.text-brand-400, .text-blue-400 { color: #60a5fa !important; }
.text-brand-500, .text-blue-500 { color: #2563eb !important; }
.text-brand-600, .text-blue-600 { color: #1d4ed8 !important; }
.text-brand-700, .text-blue-700 { color: #1e40af !important; }

.text-emerald-500, .text-green-500 { color: #10b981 !important; }
.text-emerald-600, .text-green-600 { color: #059669 !important; }
.text-emerald-700, .text-green-700 { color: #047857 !important; }
.text-emerald-800, .text-green-800 { color: #065f46 !important; }

.text-amber-500, .text-yellow-500 { color: #f59e0b !important; }
.text-amber-600, .text-yellow-600 { color: #d97706 !important; }
.text-amber-700, .text-yellow-700 { color: #b45309 !important; }

.text-rose-600, .text-red-600 { color: #e11d48 !important; }
.text-rose-700, .text-red-700 { color: #be123c !important; }
.text-rose-800, .text-red-800 { color: #9f1239 !important; }
.text-purple-600 { color: #9333ea !important; }
.text-purple-700 { color: #7e22ce !important; }
.text-orange-600 { color: #ea580c !important; }
.text-orange-700 { color: #c2410c !important; }
.text-orange-800 { color: #9a3412 !important; }
.text-yellow-800 { color: #92400e !important; }

/* Font Weights, Line Heights & Sizes */
.text-\[9px\] { font-size: 9px !important; line-height: 12px !important; }
.text-\[10px\] { font-size: 10px !important; line-height: 14px !important; }
.text-\[11px\] { font-size: 11px !important; line-height: 15px !important; }
.text-\[12px\] { font-size: 12px !important; line-height: 16px !important; }
.text-\[13px\] { font-size: 13px !important; line-height: 18px !important; }
.text-\[14px\] { font-size: 14px !important; line-height: 20px !important; }
.text-\[15px\] { font-size: 15px !important; line-height: 22px !important; }

.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }

.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-black { font-weight: 900 !important; }

.tracking-tighter { letter-spacing: -0.05em !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-normal { letter-spacing: 0em !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }

.leading-none { line-height: 1 !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-snug { line-height: 1.375 !important; }
.leading-normal { line-height: 1.5 !important; }
.leading-relaxed { line-height: 1.625 !important; }

.uppercase { text-transform: uppercase !important; }
.lowercase { text-transform: lowercase !important; }
.capitalize { text-transform: capitalize !important; }
.normal-case { text-transform: none !important; }

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* Borders & Radius */
.border { border: 1px solid var(--border-color) !important; }
.border-0 { border: 0 !important; }
.border-t { border-top: 1px solid var(--border-color) !important; }
.border-b { border-bottom: 1px solid var(--border-color) !important; }
.border-l { border-left: 1px solid var(--border-color) !important; }
.border-r { border-right: 1px solid var(--border-color) !important; }

.border-2 { border-width: 2px !important; border-style: solid !important; }
.border-slate-100, .border-gray-100 { border-color: #f1f5f9 !important; }
.border-slate-200, .border-gray-200 { border-color: #e2e8f0 !important; }
.border-slate-300, .border-gray-300 { border-color: #cbd5e1 !important; }
.border-slate-700 { border-color: #334155 !important; }
.border-brand-200, .border-blue-200 { border-color: #bfdbfe !important; }
.border-brand-300, .border-blue-300 { border-color: #93c5fd !important; }
.border-brand-500, .border-blue-500 { border-color: #2563eb !important; }
.border-brand-200\/60 { border-color: rgba(191, 219, 254, 0.6) !important; }
.border-emerald-200, .border-green-200 { border-color: #a7f3d0 !important; }
.border-amber-200, .border-yellow-200 { border-color: #fde68a !important; }
.border-orange-200 { border-color: #fed7aa !important; }
.border-purple-200 { border-color: #e9d5ff !important; }
.border-rose-200, .border-red-200 { border-color: #fecaca !important; }

.rounded-none { border-radius: 0 !important; }
.rounded-sm { border-radius: 0.25rem !important; }
.rounded { border-radius: 0.375rem !important; }
.rounded-md { border-radius: 0.5rem !important; }
.rounded-lg { border-radius: 0.75rem !important; }
.rounded-xl { border-radius: 1rem !important; }
.rounded-2xl { border-radius: 1.25rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }
.rounded-full { border-radius: 9999px !important; }

.rounded-t-xl { border-top-left-radius: 1rem !important; border-top-right-radius: 1rem !important; }
.rounded-t-2xl { border-top-left-radius: 1.25rem !important; border-top-right-radius: 1.25rem !important; }
.rounded-t-3xl { border-top-left-radius: 1.5rem !important; border-top-right-radius: 1.5rem !important; }
.rounded-b-xl { border-bottom-left-radius: 1rem !important; border-bottom-right-radius: 1rem !important; }
.rounded-b-2xl { border-bottom-left-radius: 1.25rem !important; border-bottom-right-radius: 1.25rem !important; }

/* Shadows */
.shadow-none { box-shadow: none !important; }
.shadow-2xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03) !important; }
.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

/* Positioning & Layout */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.sticky { position: sticky !important; }
.top-0 { top: 0 !important; }
.top-2 { top: 0.5rem !important; }
.top-2\.5 { top: 0.625rem !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }
.left-3 { left: 0.75rem !important; }
.right-0 { right: 0 !important; }
.right-3 { right: 0.75rem !important; }

.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }

.overflow-hidden { overflow: hidden !important; }
.overflow-y-auto { overflow-y: auto !important; }
.overflow-x-auto { overflow-x: auto !important; }
.truncate { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }

/* Filters & Interactivity */
.opacity-0 { opacity: 0 !important; }
.opacity-100 { opacity: 1 !important; }
.transform { transform: var(--tw-transform, none) !important; }
.-translate-x-1\/2, .-translate-x-1-2 { transform: translateX(-50%) !important; }
.translate-y-0 { transform: translateY(0) !important; }
.duration-300 { transition-duration: 300ms !important; }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ring-1 { box-shadow: 0 0 0 1px var(--tw-ring-color, #bfdbfe) !important; }
.ring-2 { box-shadow: 0 0 0 2px var(--tw-ring-color, #3b82f6) !important; }
.ring-brand-100 { --tw-ring-color: #dbeafe !important; }
.ring-brand-500 { --tw-ring-color: #3b82f6 !important; }
.max-w-\[150px\] { max-width: 150px !important; }
.max-w-\[180px\] { max-width: 180px !important; }
.max-w-\[200px\] { max-width: 200px !important; }

.blur-xl { filter: blur(24px) !important; }
.blur-2xl { filter: blur(40px) !important; }
.pointer-events-none { pointer-events: none !important; }
.pointer-events-auto { pointer-events: auto !important; }
.cursor-pointer { cursor: pointer !important; }
.select-none { user-select: none !important; }
.transition { transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important; }
.active\:scale-95:active { transform: scale(0.95) !important; }
.active\:scale-98:active { transform: scale(0.98) !important; }
.animate-pulse { animation: inosahaPulseSmall 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important; }

@keyframes inosahaPulseSmall {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Micro-Animations & Pulsing */
.pulse-dot {
    animation: inosahaPulse 2s infinite;
}
@keyframes inosahaPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.fade-in {
    animation: inosahaFadeIn 0.3s ease-out forwards;
}
@keyframes inosahaFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Detail Page Specific Helpers */
.slide-up {
    animation: inosahaSlideUp 0.3s ease-out forwards;
}
@keyframes inosahaSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.otp-input {
    -moz-appearance: textfield;
}


/* ═══════════════════════════════════════════════════════════════
   DASHBOARD COMPONENT STYLES
   ═══════════════════════════════════════════════════════════════ */
/* Dashboard Executive Styling - Authentic Corporate B2B */
.dash-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}
.dash-header-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 20px -6px rgba(15, 23, 42, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.dash-sms-balance-badge {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 7px 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}
.dash-sms-balance-badge:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.dash-sms-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.dash-sms-badge-icon.is-healthy {
    background: #eff6ff;
    color: #2563eb;
}
.dash-sms-badge-icon.is-low {
    background: #fef3c7;
    color: #d97706;
}
.dash-sms-badge-icon.is-empty {
    background: #fee2e2;
    color: #dc2626;
}
@media (max-width: 768px) {
    .dash-sms-balance-badge {
        width: 100%;
        margin-top: 6px;
        padding: 10px 14px;
    }
}
.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
@media (max-width: 1200px) {
    .dash-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .dash-kpi-grid {
        grid-template-columns: 1fr;
    }
}
.dash-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 18px -4px rgba(15, 23, 42, 0.03);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.dash-kpi-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.02);
    transform: translateY(-3px);
}
.dash-kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.dash-kpi-card:hover::before {
    opacity: 1;
}
.dash-kpi-card.kpi-blue::before { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.dash-kpi-card.kpi-green::before { background: linear-gradient(90deg, #059669, #34d399); }
.dash-kpi-card.kpi-purple::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.dash-kpi-card.kpi-amber::before { background: linear-gradient(90deg, #d97706, #fbbf24); }

.kpi-icon-pill {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.kpi-icon-pill.blue { background: #eff6ff; color: #2563eb; }
.kpi-icon-pill.green { background: #ecfdf5; color: #059669; }
.kpi-icon-pill.purple { background: #f5f3ff; color: #7c3aed; }
.kpi-icon-pill.amber { background: #fffbeb; color: #d97706; }

.dash-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 992px) {
    .dash-grid-layout {
        grid-template-columns: minmax(0, 1.9fr) minmax(340px, 1fr);
    }
}
.dash-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 18px -4px rgba(15, 23, 42, 0.03);
    margin-bottom: 20px;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.dash-section-card:hover {
    border-color: #cbd5e1;
}
.dash-section-hd {
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}
.dash-job-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #2563eb;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.dash-job-item:last-child {
    margin-bottom: 0;
}
.dash-job-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}
.dash-job-item.is-done {
    border-left-color: #10b981;
    background: #ffffff;
}
.dash-job-item.is-active {
    border-left-color: #2563eb;
    background: #fbfdff;
}
.dash-job-item.is-noshow {
    border-left-color: #f59e0b;
    background: #fffdfa;
}
.dash-job-item.is-cancelled {
    border-left-color: #94a3b8;
    background: #f8fafc;
    opacity: 0.8;
}
.dash-job-item.is-acil {
    border-left-color: #dc2626;
    background: #fffafa;
}
.dash-job-item.is-pending {
    border-left-color: #64748b;
    background: #ffffff;
}

.dash-staff-row {
    padding: 14px 20px;
    border-bottom: 1px solid #f8fafc;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.15s ease;
}
.dash-staff-row:last-child {
    border-bottom: none;
}
.dash-staff-row:hover {
    background: #f8fafc;
}
.status-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}


/* ═══════════════════════════════════════════════════════════════
   JOB LIST & FILTER COMPONENT STYLES
   ═══════════════════════════════════════════════════════════════ */
/* --- Kök Değişkenler & Genel Stil --- */


/* --- Bildirim (Alert) --- */
.alert-urgent {
    background: linear-gradient(to right, #fef2f2, #ffffff);
    border: 1px solid #fecaca;
    border-left: 5px solid var(--danger);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

/* --- Sekmeler (Status Tabs) --- */
.status-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.status-nav::-webkit-scrollbar { display: none; }

.status-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.status-tab:hover {
    border-color: #d1d5db;
    color: var(--text-main);
}
.status-tab .count {
    background: var(--bg-body);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11.5px;
}
/* Active States */
.status-tab.active-active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.status-tab.active-active .count { background: var(--primary); color: #fff; }

.status-tab.active-pending { background: #fef3c7; border-color: #f59e0b; color: #b45309; }
.status-tab.active-pending .count { background: #f59e0b; color: #fff; }

.status-tab.active-inprogress { background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }
.status-tab.active-inprogress .count { background: #3b82f6; color: #fff; }

.status-tab.active-completed { background: var(--success-light); border-color: var(--success); color: #047857; }
.status-tab.active-completed .count { background: var(--success); color: #fff; }

.status-tab.active-noshow { background: #ffedd5; border-color: #f97316; color: #c2410c; }
.status-tab.active-noshow .count { background: #f97316; color: #fff; }

.status-tab.active-cancelled { background: var(--danger-light); border-color: var(--danger); color: #b91c1c; }
.status-tab.active-cancelled .count { background: var(--danger); color: #fff; }

.status-tab.active-all { background: #f3f4f6; border-color: #6b7280; color: #1f2937; }
.status-tab.active-all .count { background: #6b7280; color: #fff; }

/* --- Arama & Filtreleme Barı --- */
.toolbar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.toolbar-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}
.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}
.search-input-wrapper input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: border-color 0.2s;
    outline: none;
}
.search-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.filter-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    text-decoration: none;
}
.btn-custom-outline { background: #fff; border-color: var(--border-color); color: var(--text-main); }
.btn-custom-outline:hover { background: var(--bg-body); }
.btn-custom-primary { background: var(--primary); color: #fff; }
.btn-custom-primary:hover { background: var(--primary-hover); }

/* --- Filtre Çekmecesi --- */
.filter-drawer {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.filter-group select, .filter-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
}
.filter-group select:focus, .filter-group input:focus {
    border-color: var(--primary);
}
.date-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0 4px 0;
    scrollbar-width: none;
}
.date-chips::-webkit-scrollbar { display: none; }
.date-chip {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.date-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* --- Görev Kartları --- */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 18px -4px rgba(15, 23, 42, 0.03);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.job-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.09);
}
.job-card-header {
    padding: 16px 18px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.jc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.jc-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
}
.jc-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap !important;
}
.jc-badge.done { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.jc-badge.active { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.jc-badge.noshow { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.jc-badge.cancelled { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.jc-badge.pending { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.jc-badge.paused { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }

.jc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    text-decoration: none;
    display: block;
}
.jc-title:hover { color: var(--primary); }

.job-card-body {
    padding: 16px;
    flex: 1;
}
.customer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}
.customer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.customer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.customer-text { min-width: 0; }
.customer-name { font-size: 14px; font-weight: 700; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-phone { font-size: 12px; color: var(--text-muted); }

.contact-actions { display: flex; gap: 6px; flex-shrink: 0; }
.btn-icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 14px; transition: 0.2s;
    text-decoration: none;
}
.btn-icon.call { background: #e0f2fe; color: #0284c7; }
.btn-icon.call:hover { background: #bae6fd; }
.btn-icon.wa { background: #dcfce7; color: #16a34a; }
.btn-icon.wa:hover { background: #bbf7d0; }

.meta-item {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px;
}
.meta-item i { margin-top: 3px; font-size: 12px; width: 14px; text-align: center; }
.meta-item .value { flex: 1; line-height: 1.4; word-break: break-word; }

.job-card-footer {
    padding: 14px 16px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.price-box .amount { font-size: 16px; font-weight: 800; color: var(--text-main); }
.price-box .status { font-size: 11px; font-weight: 600; }
.status.paid { color: var(--success); }
.status.unpaid { color: var(--warning); }

/* --- Mobil Uyum --- */
@media (max-width: 768px) {
    .filter-btn-group { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .btn-custom.w-full-mobile { grid-column: span 2; }
    .search-input-wrapper { width: 100%; min-width: 100%; }
    .btn-icon.call,
    .btn-icon.wa {
        min-width: 40px;
        min-height: 40px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* ==========================================================================
   MODÜL 1: KİMLİK DOĞRULAMA & GENEL SAYFALAR (AUTH & PUBLIC PAGES)
   ========================================================================== */
.auth-body {
  font-family: var(--font-family, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 10% 10%, rgba(37, 99, 235, 0.07) 0px, transparent 40%),
    radial-gradient(at 90% 90%, rgba(99, 102, 241, 0.05) 0px, transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  margin: 0;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.auth-body.dark {
  background-color: #090d16;
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(30, 64, 175, 0.12) 0px, transparent 50%);
  color: #f8fafc;
}

.auth-container {
  max-width: 440px;
  width: 100%;
  margin: auto;
}

.auth-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 38px 32px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.09), 0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

.auth-card.dark {
  background: #0f172a;
  border: 1.5px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}

.auth-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  max-height: 70px;
  margin-bottom: 12px;
}

.auth-logo {
  max-height: 56px;
  max-width: 200px;
  object-fit: contain;
}

.auth-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid #bfdbfe;
}

.auth-icon-badge.danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.auth-icon-badge.warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.auth-title {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.auth-card.dark .auth-title {
  color: #ffffff;
}

.auth-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
}

.auth-card.dark .auth-subtitle {
  color: #94a3b8;
}

.auth-chip-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 22px;
}

.auth-demo-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.auth-demo-btn:last-child { margin-bottom: 0; }

.auth-demo-btn.admin {
  background: #0f172a;
  color: #ffffff;
  border-color: #1e293b;
}
.auth-demo-btn.admin:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: #334155;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.auth-demo-btn.staff {
  background: #ffffff;
  color: #065f46;
  border-color: #a7f3d0;
}
.auth-demo-btn.staff:hover {
  background: #ecfdf5;
  color: #065f46;
  border-color: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1.5px solid #e2e8f0;
}
.auth-divider span {
  padding: 0 12px;
}

.auth-input {
  width: 100%;
  height: 50px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.auth-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}
.auth-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  font-size: 14.5px;
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 17px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.auth-password-toggle:hover {
  color: #334155;
}

.auth-otp-input {
  width: 100%;
  height: 54px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 8px;
  text-align: center;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a;
  transition: all 0.2s;
  font-family: inherit;
}
.auth-otp-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  outline: none;
}

.auth-submit-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.15s ease;
  cursor: pointer;
  margin-top: 20px;
  text-decoration: none;
}
.auth-submit-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}
.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-footer {
  text-align: center;
  margin-top: 22px;
  color: #64748b;
  font-size: 12.5px;
}
.auth-footer a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.auth-prefix-badge {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 0 14px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  height: 50px;
  white-space: nowrap;
}

.input-group > .auth-input {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.input-group > .auth-prefix-badge {
  flex: 0 0 auto !important;
}

/* Servis Fişi / Invoice Sayfası */
.receipt-body {
  background: #f1f5f9;
  color: #1e293b;
  padding: 24px;
  font-size: 13px;
  font-family: var(--font-family, 'Plus Jakarta Sans', sans-serif);
}
.receipt-container {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.06);
}
.receipt-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.receipt-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.receipt-company-logo {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
}
.receipt-company-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}
.receipt-company-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
}
.receipt-badge-title {
  background: #0f172a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 6px;
}
.receipt-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.receipt-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}
.receipt-info-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.7px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}
.receipt-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.receipt-info-label {
  color: #64748b;
  font-size: 12px;
}
.receipt-info-val {
  font-weight: 700;
  color: #0f172a;
  font-size: 12.5px;
  text-align: right;
}
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.receipt-table th {
  background: #0f172a;
  color: #ffffff;
  text-align: left;
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.receipt-table th:first-child { border-top-left-radius: 8px; }
.receipt-table th:last-child { border-top-right-radius: 8px; }
.receipt-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12.5px;
}
.receipt-table tr:nth-child(even) td {
  background: #f8fafc;
}
.receipt-summary-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.receipt-summary-box {
  width: 320px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}
.receipt-sum-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12.5px;
}
.receipt-sum-row.grand {
  background: #0f172a;
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  border-bottom: none;
}
.receipt-sign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #cbd5e1;
}
.receipt-sign-box {
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fafafa;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.receipt-sign-title {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.receipt-sign-img {
  max-height: 55px;
  max-width: 160px;
  object-fit: contain;
  margin: 0 auto;
}
.receipt-sign-line {
  border-top: 1px solid #94a3b8;
  width: 80%;
  margin: 8px auto 0;
}
.receipt-sign-name {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-top: 4px;
}
.receipt-footer-note {
  text-align: center;
  margin-top: 30px;
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

@media print {
  body.receipt-body {
    background: white;
    padding: 0;
  }
  .receipt-container {
    box-shadow: none;
    padding: 15px;
    border-radius: 0;
    max-width: 100%;
  }
  .receipt-actions, .no-print {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .auth-card { padding: 26px 18px; border-radius: 18px; }
  .auth-title { font-size: 19px; }
  .receipt-info-grid { grid-template-columns: 1fr; }
  .receipt-sign-grid { grid-template-columns: 1fr; }
  .receipt-summary-box { width: 100%; }
}

/* Receipt / Servis Makbuzu Ek Sınıfları */
.receipt-report-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
}
.receipt-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.receipt-tech-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
}
.receipt-rating-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.receipt-review-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: #fffbeb;
  border: 1.5px dashed #fcd34d;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.receipt-btn-google {
  background: #ea4335;
  color: #ffffff;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.receipt-btn-google:hover {
  background: #c5221f;
  color: #ffffff;
}
.receipt-btn-instagram {
  background: #e1306c;
  color: #ffffff;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.receipt-btn-instagram:hover {
  background: #b81752;
  color: #ffffff;
}

/* ==========================================================================
   MODÜL 2: MÜŞTERİ YÖNETİMİ (CUSTOMER MANAGEMENT)
   ========================================================================== */
.cust-list-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-card);
  margin-bottom: 0.75rem;
}
.cust-list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}
.cust-avatar-large {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-500);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cust-stat-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.customer-view-switcher {
  background: var(--slate-100);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: inline-flex;
}
.customer-view-btn {
  border-radius: 6px;
  font-size: 12.5px;
  padding: 6px 14px;
  font-weight: 600;
  background: transparent;
  color: var(--slate-500);
  border: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  line-height: 1.2;
}
.customer-view-btn.active {
  background: #ffffff;
  color: var(--slate-900);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  border: 1px solid var(--border-dark);
}
.cust-avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.inosaha-cust-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.inosaha-cust-table thead th {
  font-size: 11.5px;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--slate-500);
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--border-color);
  user-select: none;
  white-space: nowrap;
  padding: 12px 14px;
}
.inosaha-cust-table thead th:hover {
  background-color: var(--slate-100);
}
.inosaha-cust-table tbody tr {
  transition: background-color 0.15s ease;
}
.inosaha-cust-table tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.04);
}
.inosaha-cust-table tbody td {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 14px;
  vertical-align: middle;
}
.hover-primary:hover {
  color: var(--brand-600) !important;
}

/* Statement (Cari Ekstre) Stilleri */
.statement-body {
  background: #f1f5f9;
  color: #1e293b;
  padding: 24px;
  font-size: 13px;
  font-family: var(--font-family, 'Plus Jakarta Sans', Arial, sans-serif);
}
.statement-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.06);
}
.statement-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.statement-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.statement-badge {
  background: #0f172a;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 6px;
}
.statement-stat-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .statement-container { padding: 20px; }
  .statement-stat-banner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MODÜL 3: RANDEVU & TAKVİM & HIZLI İŞ (APPOINTMENTS & CALENDAR)
   ========================================================================== */
.booking-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}
.slot-btn {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}
.slot-btn:hover:not(.disabled) {
  border-color: var(--brand-500);
  color: var(--brand-500);
  background: var(--brand-50);
}
.slot-btn.selected {
  border-color: var(--brand-500);
  background: var(--brand-500);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.slot-btn.disabled {
  opacity: 0.45;
  background: var(--slate-100);
  cursor: not-allowed;
  border-color: var(--slate-300);
  text-decoration: line-through;
}
.service-badge {
  cursor: pointer;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  background: #ffffff;
  transition: all 0.15s ease;
}
.service-badge:hover {
  border-color: var(--brand-300);
  background: var(--slate-50);
  color: var(--brand-600);
}
.service-badge.active {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-600) !important;
  font-weight: 700;
}
.day-toggle-card {
  cursor: pointer;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: all 0.15s ease;
  background: var(--slate-50);
  user-select: none;
}
.day-toggle-card.active {
  background-color: var(--brand-50);
  border-color: var(--brand-500);
  color: var(--brand-600);
  font-weight: 600;
}
.day-toggle-card input[type="checkbox"] {
  display: none;
}
.form-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}
.bg-blue-50 { background-color: #eff6ff !important; }
.bg-amber-50 { background-color: #fffbeb !important; }
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.bg-cyan-50 { background-color: #ecfeff !important; }
.btn-slate-900 { background-color: #0f172a !important; color: #ffffff !important; border-color: #0f172a !important; }
.btn-slate-900:hover { background-color: #1e293b !important; color: #ffffff !important; }
.text-slate-900 { color: #0f172a !important; }

/* ==========================================================================
   Module 4: Stok, Parça & Zimmet (Inventory & Staff Stock & Usage)
   ========================================================================== */
.inventory-view-switcher {
  background: var(--slate-100);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: inline-flex;
}
.inventory-view-btn {
  border-radius: 6px;
  font-size: 12.5px;
  padding: 6px 14px;
  font-weight: 600;
  background: transparent;
  color: var(--slate-500);
  border: none;
  transition: all 0.15s ease;
}
.inventory-view-btn.active {
  background: #ffffff;
  color: var(--slate-900);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  border: 1px solid var(--border-dark);
}
.inventory-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.2s ease;
}
.inventory-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-200);
  transform: translateY(-2px);
}
.inventory-card-header {
  padding: 12px 16px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.inventory-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.inventory-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.4;
  min-height: 42px;
  margin-bottom: 4px;
}
.inventory-card-notes {
  font-size: 12px;
  color: var(--slate-500);
  min-height: 20px;
  margin-bottom: 12px;
}
.inventory-stock-box {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
}
.inventory-usage-box {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  background: var(--slate-50);
  border: 1px solid var(--border-color);
}
.inventory-usage-box.has-usage {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.inventory-price-box {
  padding: 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
}
.inventory-price-box.primary {
  background: var(--brand-50);
  border-color: var(--brand-200);
}
.inventory-card-footer {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}
.inventory-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.badge-category {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  padding: 4px 8px;
}
.badge-serial {
  background: #ffffff;
  color: var(--slate-800);
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  padding: 3px 6px;
}
.badge-warranty {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 3px 6px;
}
.stock-value-large {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin: 4px 0;
}
.avatar-staff-sm {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* ==========================================================================
   Module 5: Kasa, Muhasebe & Mutabakat (Accounting & Reconciliations)
   ========================================================================== */
.nav-pills-custom {
  background: var(--slate-100);
  padding: 4px;
  border-radius: var(--radius-md);
  display: inline-flex;
  gap: 6px;
  border: 1px solid var(--border-color);
}
.nav-pills-custom .nav-link {
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  padding: 8px 16px;
  transition: all 0.15s ease;
  border: none;
}
.nav-pills-custom .nav-link.active {
  background: var(--brand-500);
  color: #ffffff;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}
.accounting-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.accounting-kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  transition: all 0.15s ease;
}
.accounting-kpi-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-200);
}
.accounting-kpi-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.accounting-kpi-value {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 4px;
}
.accounting-chip {
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  padding: 5px 14px;
  transition: all 0.15s ease;
  background: var(--slate-50);
  color: var(--slate-600);
  border: 1px solid var(--border-color);
  cursor: pointer;
}
.accounting-chip:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}
.accounting-chip.active {
  background: var(--brand-600);
  color: #ffffff;
  border-color: var(--brand-600);
}
.payment-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  margin-bottom: 10px;
  transition: all 0.15s ease;
}
.payment-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}
.payment-card-body {
  padding: 14px 18px;
}
.payment-amount-pos {
  font-size: 17px;
  font-weight: 900;
  color: #059669;
}
.payment-amount-neg {
  font-size: 17px;
  font-weight: 900;
  color: #dc2626;
}
.payment-form-card {
  border: 2px solid var(--brand-500);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  overflow: hidden;
}
.payment-form-header {
  background: var(--brand-50);
  padding: 14px 20px;
  border-bottom: 1px solid var(--brand-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.payment-form-title {
  color: var(--brand-700);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-form-body {
  padding: 20px;
}
.min-w-240px { min-width: 240px; }
.min-w-180px { min-width: 180px; }
.min-w-140px { min-width: 140px; }
.min-w-130px { min-width: 130px; }
.min-w-100px { min-width: 100px; }
.min-w-90px { min-width: 90px; }
.w-50px { width: 50px; }
.w-160px { width: 160px; }
.w-220px { width: 220px; }
.max-w-140px { max-width: 140px; }
.max-w-200px { max-width: 200px; }
.max-w-220px { max-width: 220px; }
.max-w-240px { max-width: 240px; }
.max-w-250px { max-width: 250px; }
.max-h-400px { max-height: 400px; overflow-y: auto; }
.max-h-420px { max-height: 420px; overflow-y: auto; }

/* ═══════════════════════════════════════════════════════════════
   MODULE 6: CİHAZ & PERİYODİK BAKIM (DEVICES & MAINTENANCE)
   ═══════════════════════════════════════════════════════════════ */
.maint-header-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.maint-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.maint-stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.maint-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  border-color: var(--brand-300);
}
.maint-stat-card.active-kpi {
  border-color: var(--brand-500);
  background: #f8fafc;
  box-shadow: 0 0 0 2.5px rgba(37, 99, 235, 0.25);
}
.maint-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.maint-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  white-space: nowrap;
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
}
.maint-tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--border-focus);
}
.maint-tab-btn.active-tab {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}
.maint-filter-bar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.maint-device-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
  position: relative;
}
.maint-device-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.maint-device-card.border-l-success {
  border-left: 5px solid #10b981;
}
.maint-device-card.border-l-danger {
  border-left: 5px solid #ef4444;
}
.maint-device-card.border-l-warning {
  border-left: 5px solid #f59e0b;
}
.maint-device-card.border-l-muted {
  border-left: 5px solid #94a3b8;
}
.maint-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}
.period-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.period-badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.period-badge-amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.period-badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.maint-wa-btn {
  height: 38px;
  border-radius: 10px;
  background: #22c55e;
  color: #ffffff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(34, 197, 94, 0.3);
}
.maint-wa-btn:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-1px);
}
.maint-address-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: 12.5px;
}
.maint-extra-address {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 12px;
  color: #1e40af;
}
.maint-banner-danger {
  border-left: 5px solid #ef4444;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  margin-bottom: 16px;
}
.maint-banner-warning {
  border-left: 5px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  margin-bottom: 16px;
}
.maint-empty-box {
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  background: #ffffff;
  padding: 56px 24px;
  text-align: center;
}
.maint-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}
.dev-card-custom {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.dev-card-custom:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}
.dev-card-body {
  padding: 16px;
}
.dev-serial-code {
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 2px 6px;
  border-radius: 4px;
}
.dev-customer-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-hover);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.dev-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
  border-radius: 10px;
  background: var(--brand-600);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.dev-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 10px;
  font-size: 12px;
}
.history-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.history-feed-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.qr-modal-preview {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   MODULE 7: HARİTA, SEVK, CHECKLISTS & İŞ TÜRLERİ
   ═══════════════════════════════════════════════════════════════ */
/* --- Harita & Sevk (Map & Dispatch) --- */
#mapContainer {
  height: calc(100vh - 275px);
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
#mapColWrapper, #sidebarColWrapper {
  position: relative;
  transition: all 0.25s ease;
}
.map-header-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.map-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.map-badge-pulse .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.fleet-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}
.fleet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.map-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 10px;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.map-header-btn:hover {
  transform: translateY(-1px);
}
.map-filter-hud-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.btn-filter-pill {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.btn-filter-pill:hover {
  background: #f1f5f9;
  color: var(--text);
  border-color: var(--border-focus);
}
.btn-filter-pill.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}
.btn-filter-active-highlight {
  border-color: #fde047;
  background: #fefce8;
  color: #854d0e;
}
.btn-filter-active-highlight.active {
  background: #ca8a04 !important;
  color: #ffffff !important;
  border-color: #ca8a04 !important;
  box-shadow: 0 2px 8px rgba(202, 138, 4, 0.35);
}
.map-search-box input {
  font-size: 12px;
  transition: all 0.2s ease;
}
.map-floating-toolbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: none;
}
.map-floating-toolbar > * {
  pointer-events: auto;
}
.mobile-map-bottom-bar {
  position: fixed;
  bottom: calc(var(--nav-h, 68px) + var(--safe-bottom, 0px) + 22px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1040;
  width: calc(100% - 32px);
  max-width: 330px;
  pointer-events: none;
}
.mobile-switcher-inner {
  background: #0f172a;
  border-radius: 50px;
  padding: 4px;
  display: flex;
  gap: 4px;
  border: 1.5px solid rgba(255,255,255,0.18);
  pointer-events: auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.btn-mobile-switch {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-mobile-switch.active {
  background: var(--brand-600);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.4);
}
.map-sidebar {
  height: calc(100vh - 275px);
  min-height: 520px;
  overflow-y: auto;
}
.btn-map-desktop-only {
  display: none !important;
}
@media (min-width: 992px) {
  .btn-map-desktop-only {
    display: inline-flex !important;
  }
}
.map-sidebar-col {
  display: none;
}
@media (min-width: 992px) {
  .map-sidebar-col {
    display: block !important;
  }
}
@media (max-width: 991.98px) {
  .map-sidebar-col {
    padding-bottom: 130px !important;
  }
  .map-sidebar-col .map-sidebar {
    height: auto !important;
    min-height: 400px;
    overflow-y: visible !important;
  }
  #mapContainer {
    height: calc(100vh - 220px);
    min-height: 440px;
  }
}
.map-job-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.map-job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.map-job-card.active {
  border-color: var(--brand-500);
  background: #eff6ff;
}
.custom-marker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  border: 2px solid white;
  cursor: pointer;
}
.marker-urgent { background: linear-gradient(135deg, #ef4444, #dc2626); }
.marker-pending { background: linear-gradient(135deg, #f59e0b, #d97706); }
.marker-progress { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.marker-completed { background: linear-gradient(135deg, #10b981, #059669); }
.marker-tech { background: linear-gradient(135deg, #8b5cf6, #7c3aed); border-radius: 10px; }
.custom-div-icon {
  background: transparent !important;
  border: none !important;
}
.vehicle-car-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 32px;
  height: 32px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.vehicle-car-pin:hover {
  transform: scale(1.25);
  z-index: 1000 !important;
}
.vehicle-car-pin .car-icon-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  line-height: 1;
  transition: all 0.2s ease;
  filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 1px #ffffff) drop-shadow(0 3px 6px rgba(0,0,0,0.45));
}
.vehicle-car-pin.car-online .car-icon-glyph { color: #10b981; }
.vehicle-car-pin.car-enroute .car-icon-glyph { color: #2563eb; animation: carDriveBounce 1.2s infinite ease-in-out; }
.vehicle-car-pin.car-onsite .car-icon-glyph { color: #f59e0b; }
.vehicle-car-pin.car-offline .car-icon-glyph { color: #64748b; opacity: 0.75; }
.vehicle-car-pin.car-enroute::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 10px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.35);
  animation: carBeaconWave 1.6s infinite;
  z-index: -1;
}
@keyframes carDriveBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes carBeaconWave {
  0% { transform: translateX(-50%) scale(0.8); opacity: 0.9; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
  70% { transform: translateX(-50%) scale(1.5); opacity: 0; box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: translateX(-50%) scale(0.8); opacity: 0; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.direct-route-line {
  stroke: #2563eb !important;
  stroke-width: 3.5px !important;
  stroke-opacity: 0.85 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  filter: drop-shadow(0 2px 5px rgba(37, 99, 235, 0.4));
}
.vehicle-name-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.3);
  letter-spacing: 0.2px;
  pointer-events: none;
}

/* --- Usta Avatar Harita ve Takip İkonları --- */
.vehicle-car-pin .tech-avatar-glyph {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: all 0.2s ease;
}
.vehicle-car-pin .tech-avatar-glyph img.tech-pin-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.vehicle-car-pin.car-online .tech-avatar-glyph {
  border-color: #10b981;
  box-shadow: 0 0 0 2.5px #10b981, 0 4px 10px rgba(16, 185, 129, 0.5);
}
.vehicle-car-pin.car-enroute .tech-avatar-glyph {
  border-color: #2563eb;
  box-shadow: 0 0 0 2.5px #2563eb, 0 4px 12px rgba(37, 99, 235, 0.6);
  animation: carDriveBounce 1.2s infinite ease-in-out;
}
.vehicle-car-pin.car-onsite .tech-avatar-glyph {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2.5px #f59e0b, 0 4px 10px rgba(245, 158, 11, 0.5);
}
.vehicle-car-pin.car-offline .tech-avatar-glyph {
  border-color: #64748b;
  box-shadow: 0 0 0 2px #64748b;
  filter: grayscale(60%);
  opacity: 0.85;
}
.marker-tech-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2.5px solid #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
  animation: carPulse 1.8s infinite;
  overflow: hidden;
  padding: 0;
}
.marker-tech-avatar img.marker-tech-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* --- Checklists (Kontrol Listeleri) --- */
.chk-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  transition: all 0.2s ease;
}
.chk-item-row:last-child {
  border-bottom: none;
}
.chk-item-idx {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
}
.chk-industry-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --- İş Türleri (Job Types) --- */
.jobtype-stat-pill {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.jobtype-stat-pill .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.jobtype-mobile-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.jobtype-mobile-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}
.jobtype-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.icon-picker-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.15s ease;
  cursor: pointer;
}
.icon-picker-btn:hover, .icon-picker-btn.active {
  border-color: var(--brand-500);
  background: #eff6ff;
  color: var(--brand-600);
  transform: translateY(-1px);
}

/* --- Tam Ekran TV Modu HUD Stilleri (Fullscreen Map HUD) --- */
#fullscreenMap {
  width: 100vw;
  height: 100vh;
  z-index: 1;
}
.hud-top-bar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 24px);
  max-width: 1560px;
  background: rgba(15, 23, 42, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 7px 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap !important;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.hud-top-bar.hud-hidden {
  transform: translate(-50%, -140%);
  opacity: 0;
  pointer-events: none;
}
.hud-show-pill {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  opacity: 0;
  pointer-events: none;
  z-index: 1001;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hud-show-pill:hover {
  background: var(--brand-600);
  border-color: var(--brand-500);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
  color: #ffffff;
  transform: translateX(-50%) translateY(2px);
}
.hud-show-pill.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.hud-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
  white-space: nowrap;
}
.hud-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}
.hud-brand-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.hud-brand-sub {
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 600;
}
.hud-center-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 1;
  min-width: 0;
}
.hud-center-group::-webkit-scrollbar {
  display: none;
}
.hud-controls-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  white-space: nowrap;
}
.hud-mode-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none !important;
}
.hud-mode-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
.hud-mode-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.5);
}
.hud-mode-pill.btn-toggle-hud {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.hud-mode-pill.btn-toggle-hud:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}
.hud-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.6rem center/9px 7px !important;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 22px 4px 8px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
  height: 28px;
  line-height: 18px;
  flex-shrink: 0;
  white-space: nowrap;
}
.hud-select option {
  background: #0f172a;
  color: #ffffff;
}
.hud-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
.hud-bottom-stats {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  font-weight: 700;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-num {
  font-size: 14px;
  font-weight: 800;
  color: #60a5fa;
}
@media (max-width: 991px) {
  .hud-top-bar {
    top: 8px;
    width: calc(100% - 16px);
    padding: 8px 12px;
    gap: 8px;
  }
  .hud-brand-title { font-size: 12px; }
  .hud-select { max-width: 140px; font-size: 11px; }
  .hud-bottom-stats { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   MODULE 8: SMS, BİLDİRİMLER & RAPORLAR
   ═══════════════════════════════════════════════════════════════ */

/* --- SMS MODÜLÜ --- */
.sms-page-header {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.sms-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.sms-card-credit {
  border: 1.5px solid #bfdbfe !important;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
  border-radius: 14px;
  padding: 18px;
}
.sms-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.sms-pkg-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}
.sms-pkg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.sms-pkg-card.popular {
  border: 2px solid var(--brand-500);
  background: #f0f7ff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.sms-pkg-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--brand-500);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.sms-pkg-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: 2px;
}
.sms-pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.sms-pkg-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-500);
}
.sms-pkg-period {
  font-size: 11px;
  color: var(--slate-500);
  font-weight: 600;
}
.sms-pkg-unit {
  font-size: 11px;
  color: var(--success);
  font-weight: 700;
  margin-bottom: 14px;
}
.sms-auto-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  transition: background 0.15s ease;
}
.sms-auto-label:hover {
  background: var(--slate-50);
}
.sms-auto-label.highlight {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.sms-auto-title {
  font-size: 13px;
  font-weight: 700;
  display: block;
}
.sms-auto-desc {
  font-size: 11.5px;
  color: var(--slate-500);
}
.sms-test-box {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}
.sms-sender-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate-600);
}
.sms-sender-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--slate-900);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* SMS Taahhütname Sözleşme */
.sms-terms-container {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.sms-terms-content {
  padding: 28px 32px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--slate-700);
}
.sms-terms-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}
.sms-terms-article {
  font-size: 14px;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sms-terms-box {
  margin-top: 30px;
  padding: 20px;
  background: var(--slate-50);
  border: 2px dashed var(--slate-400);
  border-radius: 14px;
}

/* --- NOTIFICATIONS (BİLDİRİMLER) --- */
.notif-item {
  transition: all 0.15s;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-left: 4px solid transparent;
  text-decoration: none;
  color: inherit;
}
.notif-item:hover {
  background: var(--slate-50);
}
.notif-item.unread {
  background: #f0f7ff;
  border-left-color: var(--brand-500);
}
.notif-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  margin-top: 2px;
}
.notif-time-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate-500);
  background: rgba(100, 116, 139, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* --- REPORTS (RAPORLAR) --- */
.report-preset-btn {
  border-radius: 10px;
  font-size: 13px;
  padding: 6px 14px;
  border: 0;
  font-weight: 500;
  color: var(--slate-600);
  background: var(--slate-100);
  transition: all 0.15s;
}
.report-preset-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}
.report-preset-btn.active {
  background: var(--brand-500);
  color: #ffffff;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.report-kpi-card {
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  height: 100%;
}
.report-kpi-rev {
  background: linear-gradient(135deg, #ffffff, #eff6ff);
  border-left: 4px solid #2563eb !important;
}
.report-kpi-income {
  background: linear-gradient(135deg, #ffffff, #f0fdf4);
  border-left: 4px solid #10b981 !important;
}
.report-kpi-expense {
  background: linear-gradient(135deg, #ffffff, #fef2f2);
  border-left: 4px solid #ef4444 !important;
}
.report-kpi-balance {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}
.report-tab-link {
  border-radius: 10px;
  font-size: 13.5px;
  padding: 8px 16px;
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}
.report-tab-link:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}
.report-tab-link.active {
  background: var(--brand-500);
  color: #ffffff;
  font-weight: 700;
}
.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* --- DIGEST (YÖNETİCİ GÜN SONU ÖZETİ) --- */
.digest-body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  padding-bottom: 60px;
  margin: 0;
}
.digest-header {
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  color: white;
  padding: 28px 20px 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.digest-container {
  max-width: 860px;
  margin: -32px auto 0;
  padding: 0 16px;
}
.digest-kpi-card {
  background: white;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  height: 100%;
}
.digest-kpi-card-cash {
  border-left: 3px solid #10b981;
}
.digest-table-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.digest-table-hd {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.digest-alert-box {
  background: #fef3c7;
  color: #b45309;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
@media print {
  .no-print { display: none !important; }
  .digest-header { background: #0f172a !important; color: white !important; padding: 20px; }
  .digest-container { margin-top: 0; max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   MODULE 9: DESTEK, KULLANICILAR & AYARLAR
   ═══════════════════════════════════════════════════════════════ */

/* --- DESTEK & TİCKETLAR --- */
.ticket-bubble {
  max-width: 85%;
  padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  line-height: 1.4;
}
.ticket-bubble-me {
  align-self: flex-end;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-radius: 16px 16px 4px 16px;
}
.ticket-bubble-other {
  align-self: flex-start;
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px 16px 16px 4px;
}
.ticket-bubble-time {
  font-size: 10px;
  opacity: 0.75;
  text-align: right;
  margin-top: 4px;
}

/* --- SETTINGS (AYARLAR MENÜSÜ & PANELİ) --- */
.settings-menu-list {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}
.settings-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  margin-bottom: 3px;
}
.settings-menu-item:hover {
  background: #f8fafc;
  color: #0f172a;
  transform: translateX(2px);
}
.settings-menu-item.active {
  background: #eff6ff !important;
  color: #1e40af !important;
  font-weight: 700 !important;
  border-left: 3px solid #2563eb !important;
}
.settings-menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.settings-menu-item.active .settings-menu-icon {
  background: #2563eb !important;
  color: #ffffff !important;
}
.settings-page-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}
.settings-page-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.settings-page-body {
  padding: 24px;
}
.form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.section-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.4;
}
.quick-action-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  height: 100%;
}
.quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
  color: inherit;
}
.quick-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* --- SUBSCRIPTION (ABONELİK) --- */
.sub-hero-card {
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.5rem;
}
.sub-hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.sub-pkg-card {
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
  transition: all 0.2s ease;
}
.sub-pkg-card.popular {
  border: 2.5px solid var(--brand-500);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.16);
}
.sub-pkg-card.current {
  border: 2.5px solid #10b981;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.16);
}
.sub-pkg-card.enterprise {
  border: 1.5px solid #1e293b;
  background: #0f172a;
  color: #ffffff;
}
.sub-pkg-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.sub-pkg-price-box {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.sub-pkg-gift-badge {
  margin-bottom: 1rem;
  padding: 6px 10px;
  text-align: center;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  background: #eff6ff;
  color: #1e40af;
}

/* --- USERS / STAFF (PERSONEL & TAŞERON) --- */
.emp-card {
  cursor: pointer;
  border-radius: 14px !important;
  transition: all 0.2s ease-in-out;
}
.emp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.active-kadrolu {
  border: 2px solid #2563eb !important;
  background: #f0f7ff !important;
}
.active-taseron {
  border: 2px solid #ea580c !important;
  background: #fff9f5 !important;
}
.inactive-card {
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
}
.emp-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.comm-type-card {
  cursor: pointer;
  border-radius: 12px !important;
  transition: all 0.2s ease;
}
.perm-item-label:hover {
  background: #f1f5f9;
}
.rate-preset-btn.active {
  background: #ea580c !important;
  color: #ffffff !important;
  border-color: #ea580c !important;
}

/* ==========================================================================
   MODÜL 10: CANLI TAKİP, DİJİTAL FİŞ & ONBOARDING
   ========================================================================== */

/* --- TRACK / CANLI TAKİP PORTALI --- */
.track-page-body {
  font-family: var(--font-family, 'Plus Jakarta Sans', -apple-system, sans-serif);
  background-color: var(--bg-body, #f8fafc);
  color: var(--text-dark, #0f172a);
  min-height: 100vh;
  padding-bottom: 50px;
}

#customerTrackMap {
  height: 280px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.map-beacon-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  border: 2.5px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.marker-car {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  animation: carPulse 1.8s infinite;
}

.marker-home {
  background: linear-gradient(135deg, #10b981, #059669);
}

@keyframes carPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.track-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: white;
  padding: 24px 16px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.track-header-wrap {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.track-logo {
  max-height: 46px;
  max-width: 140px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  padding: 4px 8px;
}

.track-logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.track-container {
  max-width: 680px;
  margin: -25px auto 0;
  padding: 0 16px;
}

.track-card {
  background: var(--card-bg, #ffffff);
  border-radius: 20px;
  border: 1px solid var(--border-color, #e2e8f0);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 20px 0 10px;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.stepper-progress {
  position: absolute;
  top: 20px;
  left: 30px;
  height: 3px;
  background: #10b981;
  z-index: 2;
  transition: width 0.4s ease;
}

.step-item {
  position: relative;
  z-index: 3;
  text-align: center;
  flex: 1;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 3px solid #cbd5e1;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 8px;
  transition: all 0.3s;
}

.step-item.active .step-icon {
  border-color: #2563eb;
  background: #2563eb;
  color: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.step-item.completed .step-icon {
  border-color: #10b981;
  background: #10b981;
  color: white;
}

.step-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.2;
}

.step-item.active .step-title {
  color: #2563eb;
  font-weight: 800;
}

.step-item.completed .step-title {
  color: #10b981;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-in_progress { background: #dbeafe; color: #1e40af; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-paused { background: #ffedd5; color: #c2410c; }

.photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.photo-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color, #e2e8f0);
  background: #f1f5f9;
  text-align: center;
  position: relative;
}

.photo-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.2s;
}

.photo-card img:hover {
  transform: scale(1.03);
}

.photo-label {
  padding: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.photo-label.before { background: #fffbeb; color: #92400e; }
.photo-label.after  { background: #f0fdf4; color: #065f46; }

.tech-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--border-color, #e2e8f0);
}

.tech-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1e3a5f);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.btn-action {
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.15s;
}

.btn-action:active { transform: scale(0.97); }

.btn-receipt {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: white;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
}

.btn-receipt:hover { color: white; }

.btn-wa {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover { color: white; }

.track-phase-card {
  border: 1px solid var(--border-color, #e2e8f0);
  background: #ffffff;
  border-radius: 16px;
}

.track-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.track-live-map-card {
  border: 2px solid #3b82f6;
  overflow: hidden;
  padding: 0;
}

.track-live-map-header {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: white;
}

.track-otp-verified-card {
  border: 2px solid #10b981;
  background: #f0fdf4;
  text-align: center;
}

.track-otp-verified-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.track-otp-input {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 8px;
  height: 54px;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  text-align: center;
  font-family: monospace;
}

.track-review-promo {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px dashed #fcd34d !important;
  border-radius: 16px;
}

/* --- USTA / TEKNİSYEN MOBİL & DESKTOP DOKUNMATİK ARAYÜZ SİSTEMİ --- */
.staff-shell-body {
  background-color: #f1f5f9;
  color: #1e293b;
  min-height: 100vh;
  min-height: 100dvh;
}
.staff-shell-container {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 84px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
@media (min-width: 768px) {
  .staff-shell-container {
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
  }
}
.staff-branding-bar {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.staff-branding-pill {
  font-size: 11px;
  font-weight: 800;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  padding: 6px 12px 10px !important;
  z-index: 1040 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
}
.staff-nav-item {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 2px !important;
  text-decoration: none !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  transition: all 0.15s ease !important;
}
.staff-nav-item i {
  font-size: 18px !important;
  margin-bottom: 3px !important;
  transition: transform 0.15s ease !important;
}
.staff-nav-item:hover, .staff-nav-item:active {
  color: #2563eb !important;
}
.staff-nav-item.active {
  color: #2563eb !important;
  font-weight: 800 !important;
}
.staff-nav-item.active i {
  transform: scale(1.1);
  color: #2563eb !important;
}
.staff-nav-add-btn {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  margin-top: -24px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
  flex-shrink: 0 !important;
  border: 3px solid #ffffff !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  text-decoration: none !important;
}
.staff-nav-add-btn:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6) !important;
  color: #ffffff !important;
}
.staff-nav-add-btn:active {
  transform: scale(0.95) !important;
}


/* --- RECEIPT / DİJİTAL SERVİS FİŞİ --- */
.receipt-body {
  background: #f1f5f9;
  color: #1e293b;
  padding: 20px;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.receipt-container {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.receipt-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.receipt-company-logo {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
}

.receipt-company-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.receipt-company-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
}

.receipt-meta {
  text-align: right;
}

.receipt-badge {
  background: #0f172a;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 6px;
}

.receipt-id {
  font-weight: 800;
  font-size: 14px;
  margin-top: 3px;
}

.receipt-date {
  font-size: 12px;
  color: #64748b;
}

.receipt-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.receipt-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

.receipt-info-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.7px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}

.receipt-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.receipt-info-label {
  color: #64748b;
  font-size: 12px;
}

.receipt-info-val {
  font-weight: 700;
  color: #0f172a;
  font-size: 12.5px;
  text-align: right;
}

.receipt-info-val.warranty {
  color: #059669;
}

.receipt-desc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.receipt-desc-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #334155;
}

.receipt-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.receipt-tech-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
}

.receipt-tech-item-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}

.receipt-tech-item-val {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

.receipt-rating-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.receipt-rating-stars {
  font-size: 20px;
  color: #f59e0b;
}

.receipt-rating-title {
  color: #92400e;
  font-size: 13px;
}

.receipt-rating-feedback {
  font-size: 12px;
  color: #78350f;
  font-style: italic;
}

.receipt-rating-badge {
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #fde68a;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.receipt-table th {
  background: #0f172a;
  color: white;
  text-align: left;
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.receipt-table th:first-child { border-top-left-radius: 8px; }
.receipt-table th:last-child { border-top-right-radius: 8px; }

.receipt-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12.5px;
}

.receipt-table tr:nth-child(even) td {
  background: #f8fafc;
}

.receipt-summary-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.receipt-summary-box {
  width: 320px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.receipt-sum-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12.5px;
}

.receipt-sum-row.discount {
  color: #ef4444;
}

.receipt-sum-row.grand {
  background: #0f172a;
  color: white;
  font-weight: 900;
  font-size: 15px;
  border-bottom: none;
}

.receipt-bank-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.receipt-bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.receipt-bank-title {
  font-weight: 800;
  font-size: 12px;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.receipt-bank-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.receipt-iban-code {
  font-family: monospace;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  letter-spacing: 0.5px;
}

.receipt-copy-btn {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.receipt-sign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #cbd5e1;
}

.receipt-sign-box {
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fafafa;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.receipt-sign-box.verified {
  border: 1.5px solid #10b981;
  background: #f0fdf4;
}

.receipt-sign-title {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.receipt-sign-title.verified {
  color: #059669;
  font-weight: 800;
}

.receipt-sign-name-text {
  font-weight: 800;
  font-size: 13px;
  color: #0f172a;
  margin: 10px 0;
}

.receipt-sign-otp-card {
  padding: 6px 8px;
  background: #ffffff;
  border: 1px dashed #059669;
  border-radius: 8px;
  margin: 4px auto;
  max-width: 220px;
  text-align: center;
}

.receipt-sign-img {
  max-height: 55px;
  max-width: 160px;
  object-fit: contain;
  margin: 0 auto;
}

.receipt-sign-placeholder {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 11px;
}

.receipt-sign-line {
  border-top: 1px solid #94a3b8;
  width: 80%;
  margin: 8px auto 0;
}

.receipt-sign-name {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-top: 4px;
}

.receipt-review-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: #fffbeb;
  border: 1.5px dashed #fcd34d;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.receipt-review-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.receipt-footer-note {
  text-align: center;
  margin-top: 30px;
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.receipt-no-print {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.receipt-btn-print {
  background: #0f172a;
  color: white;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.receipt-btn-wa {
  background: #25D366;
  color: white;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

@media print {
  @page { size: A4 portrait; margin: 12mm 15mm; }
  body.receipt-body {
    background: white !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .receipt-container {
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .receipt-no-print, .no-print, .no-print-a4 {
    display: none !important;
  }
}

/* --- ONBOARDING WIZARD --- */
.onboarding-banner {
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: white;
}

.onboarding-banner-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
}

.onboarding-step-circle {
  width: 32px;
  height: 32px;
}

.industry-card {
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.industry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.industry-icon {
  font-size: 32px;
  margin-bottom: 6px;
}

/* ==========================================================================
   MODÜL 11: SÜPER ADMİN PANELİ (SUPERADMIN)
   ========================================================================== */
body.superadmin-body {
  background-color: #0f172a;
  color: #f8fafc;
  font-family: var(--font-family, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
}

.superadmin-navbar {
  background-color: #1e293b !important;
  border-bottom: 1px solid #334155;
}

.superadmin-card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
}

.superadmin-table {
  color: #f8fafc;
  border-color: #334155;
}

.superadmin-table thead th {
  background-color: #0f172a;
  color: #94a3b8;
  border-color: #334155;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.superadmin-table tbody td {
  border-color: #334155;
  vertical-align: middle;
}

.superadmin-table tbody tr:hover {
  background-color: #334155;
  color: #ffffff;
}

.superadmin-login-body {
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family, 'Plus Jakarta Sans', -apple-system, sans-serif);
}

.superadmin-login-card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.superadmin-stat-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.superadmin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.module-card {
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.module-card:hover {
  border-color: #64748b;
}

.term-badge {
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  display: inline-block;
  margin: 2px;
}

.setup-card {
  background: #131b2a;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.setup-industry-card,
.industry-card {
  background: #0f172a;
  border: 1.5px solid #1e293b;
  border-radius: 12px;
  padding: 14px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.setup-industry-card:hover,
.industry-card:hover {
  border-color: #3b82f6;
  background: #1e293b;
  transform: translateY(-2px);
}

.setup-industry-card.active,
.industry-card.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.setup-industry-card i,
.industry-card i {
  font-size: 22px;
  margin-bottom: 8px;
  color: #60a5fa;
}

.setup-industry-card.active i,
.industry-card.active i {
  color: #93c5fd;
}

.package-pill {
  cursor: pointer;
  border: 1.5px solid #334155;
  border-radius: 12px;
  padding: 12px 14px;
  background: #0f172a;
  transition: all 0.2s;
}

.package-pill:hover {
  border-color: #64748b;
}

.package-pill.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.btn-launch {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  color: white;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
  width: 100%;
  letter-spacing: -0.2px;
}

.btn-launch:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
  color: white;
}

.btn-prefill {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-prefill:hover {
  background: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

.code-box {
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #38bdf8;
}

.superadmin-modal .modal-content {
  background-color: #0f172a !important;
  border: 1.5px solid #334155 !important;
  color: #f8fafc !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9) !important;
}

.setup-section-title,
.superadmin-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1e293b;
}

.setup-industry-name,
.industry-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
}

.superadmin-ticket-msg-admin {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(30, 58, 138, 0.28) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-left: 40px;
  color: #f8fafc;
}

.superadmin-ticket-msg-user {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 16px;
  margin-right: 40px;
  color: #f8fafc;
}

.superadmin-log-message {
  word-break: break-word;
  line-height: 1.4;
  font-size: 12.5px;
  color: #cbd5e1;
}

.order-invoice-input {
  max-width: 150px;
  font-size: 11px;
}

.setup-container {
  max-width: 980px;
}

.setup-notice-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 16px;
}

.setup-info-card {
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 16px;
}

.setup-whatsapp-preview {
  font-size: 12px;
  background: #090d16 !important;
  color: #a7f3d0 !important;
  border-color: #065f46 !important;
  font-family: 'JetBrains Mono', monospace;
}

/* Mobil & Masaüstü Ayrımı (.job-cards-mobile-container, .acc-cards-mobile-container, .job-desktop-table-wrapper, .acc-desktop-table-wrapper) */
.job-desktop-table-wrapper,
.acc-desktop-table-wrapper {
    display: block !important;
}
.job-cards-mobile-container,
.acc-cards-mobile-container {
    display: none !important;
}

@media (max-width: 767.98px) {
    .job-desktop-table-wrapper,
    .acc-desktop-table-wrapper {
        display: none !important;
    }
    .job-cards-mobile-container,
    .acc-cards-mobile-container {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* --- Global Responsive Display Utilities (fixes !important override of d-none) --- */
@media (min-width: 576px) {
    .d-sm-none { display: none !important; }
    .d-sm-inline { display: inline !important; }
    .d-sm-inline-block { display: inline-block !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
    .d-sm-inline-flex { display: inline-flex !important; }
}

@media (min-width: 768px) {
    .job-desktop-table-wrapper,
    .acc-desktop-table-wrapper {
        display: block !important;
    }
    .job-cards-mobile-container,
    .acc-cards-mobile-container {
        display: none !important;
    }
    .d-md-none { display: none !important; }
    .d-md-inline { display: inline !important; }
    .d-md-inline-block { display: inline-block !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-inline-flex { display: inline-flex !important; }
    .d-md-table { display: table !important; }
}

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-inline { display: inline !important; }
    .d-lg-inline-block { display: inline-block !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-inline-flex { display: inline-flex !important; }
    .d-lg-table { display: table !important; }
}

@media (min-width: 1200px) {
    .d-xl-none { display: none !important; }
    .d-xl-inline { display: inline !important; }
    .d-xl-inline-block { display: inline-block !important; }
    .d-xl-block { display: block !important; }
    .d-xl-flex { display: flex !important; }
    .d-xl-inline-flex { display: inline-flex !important; }
}










