/* ============================================================
   SERVİS MERKEZİ - ANA STYLESHEET
   Dark Professional Theme
   ============================================================ */

:root {
  --sidebar-w: 240px;
  --sidebar-collapsed-w: 60px;
  --topbar-h: 58px;

  --bg-dark:     #0f1117;
  --bg-dark2:    #161b27;
  --bg-dark3:    #1e2535;
  --bg-card:     #1e2535;
  --bg-input:    #252d3d;
  --bg-hover:    #2a3347;

  --text-primary:   #e8edf5;
  --text-secondary: #8896ae;
  --text-muted:     #5a6a7e;

  --accent:        #4f8ef7;
  --accent-hover:  #3a7ae8;
  --accent-light:  rgba(79,142,247,0.12);

  --success:   #22c55e;
  --warning:   #f59e0b;
  --danger:    #ef4444;
  --info:      #06b6d4;

  --border:    #2a3347;
  --border2:   #364156;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow:    0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --font-main: 'Nunito', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-dark2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: all 0.3s ease;
  overflow: hidden;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  min-height: var(--topbar-h);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}
.sidebar-logo i { font-size: 20px; flex-shrink: 0; }
.sidebar-brand { transition: opacity 0.2s; }

.sidebar-toggle { background: none; border: none; color: var(--text-secondary); cursor: pointer; padding: 4px; }

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.user-avatar {
  width: 36px; height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.user-info { overflow: hidden; }
.user-name { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: 11px; color: var(--text-muted); }

.sidebar-nav {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  overflow-y: auto;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 0;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
}
.nav-item a:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-item.active a {
  background: var(--accent-light);
  color: var(--accent);
  border-right: 3px solid var(--accent);
}
.nav-item a i { font-size: 17px; flex-shrink: 0; }

.nav-badge {
  margin-left: auto;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.sidebar-footer {
  border-top: 1px solid var(--border);
  padding: 12px 18px;
}
.logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--danger);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 0;
  transition: opacity 0.2s;
}
.logout-btn:hover { opacity: 0.8; }

/* Sidebar collapsed */
.sidebar.collapsed {
  width: var(--sidebar-collapsed-w);
}
.sidebar.collapsed .sidebar-brand,
.sidebar.collapsed .user-info,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .logout-btn span {
  display: none;
}
.sidebar.collapsed .nav-item a {
  justify-content: center;
  padding: 12px;
}
.sidebar.collapsed .sidebar-user { justify-content: center; padding: 14px; }
.sidebar.collapsed .sidebar-logo { justify-content: center; }

/* ============================================================
   MAIN WRAPPER
   ============================================================ */
.main-wrapper {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease;
}
.main-wrapper.sidebar-collapsed { margin-left: var(--sidebar-collapsed-w); }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  height: var(--topbar-h);
  background: var(--bg-dark2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }

.topbar-toggle {
  background: none; border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.topbar-toggle:hover { background: var(--bg-hover); }

.breadcrumb { font-size: 12px; }
.breadcrumb-item a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-primary); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

.topbar-date { font-size: 12px; color: var(--text-secondary); align-items: center; gap: 4px; }

.notif-btn {
  position: relative;
  color: var(--text-secondary);
  font-size: 18px;
  text-decoration: none;
}
.notif-badge {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--danger);
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.topbar-avatar {
  width: 32px; height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.topbar-user { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
  flex: 1;
  padding: 24px;
  background: var(--bg-dark);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.page-title span { color: var(--accent); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-body { padding: 18px; }

/* Stat Cards */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-icon.blue   { background: rgba(79,142,247,0.15); color: var(--accent); }
.stat-icon.green  { background: rgba(34,197,94,0.15);  color: var(--success); }
.stat-icon.orange { background: rgba(245,158,11,0.15); color: var(--warning); }
.stat-icon.red    { background: rgba(239,68,68,0.15);  color: var(--danger); }
.stat-icon.cyan   { background: rgba(6,182,212,0.15);  color: var(--info); }
.stat-icon.purple { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.stat-value { font-size: 26px; font-weight: 800; line-height: 1.2; }
.stat-label { font-size: 12px; color: var(--text-secondary); font-weight: 600; margin-top: 2px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
  background: var(--bg-input);
  border: 1px solid var(--border2);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
  background: var(--bg-input);
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.2);
}
.form-control::placeholder { color: var(--text-muted); }
.form-label { font-weight: 600; font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
/* Select options - force white text on dark bg */
.form-select option {
  background: var(--bg-dark2) !important;
  color: var(--text-primary) !important;
}
/* All selects */
select, select option, select optgroup {
  background-color: var(--bg-dark2) !important;
  color: var(--text-primary) !important;
}

.input-group-text {
  background: var(--bg-dark3);
  border-color: var(--border2);
  color: var(--text-secondary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-main);
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-size: 13px;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-success { background: var(--success); border-color: var(--success); }
.btn-danger  { background: var(--danger);  border-color: var(--danger); }
.btn-warning { background: var(--warning); border-color: var(--warning); color: #000; }
.btn-sm { font-size: 11px; padding: 4px 10px; }
.btn-icon { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }

.btn-dark-outline {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text-secondary);
}
.btn-dark-outline:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border2); }

/* ============================================================
   TABLES
   ============================================================ */
.table {
  color: var(--text-primary);
  font-size: 13px;
  margin: 0;
}
.table thead th {
  background: var(--bg-dark3);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-color: var(--border);
  padding: 10px 12px;
  white-space: nowrap;
}
.table tbody tr {
  border-color: var(--border);
  transition: background 0.15s;
}
.table tbody tr:hover { background: var(--bg-hover); }
.table tbody td {
  border-color: var(--border);
  padding: 10px 12px;
  vertical-align: middle;
}
.table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,0.02); }
.table-striped tbody tr:nth-of-type(odd):hover { background: var(--bg-hover); }

/* DataTables */
div.dataTables_wrapper .dataTables_length select,
div.dataTables_wrapper .dataTables_filter input {
  background: var(--bg-input);
  border: 1px solid var(--border2);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}
div.dataTables_wrapper .dataTables_info,
div.dataTables_wrapper .dataTables_length { color: var(--text-secondary); font-size: 12px; }
div.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: var(--text-secondary) !important;
  border-radius: var(--radius-sm) !important;
}
div.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--accent) !important;
  color: white !important;
  border-color: var(--accent) !important;
}
div.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--bg-hover) !important;
  color: var(--text-primary) !important;
  border-color: var(--border2) !important;
}

/* ============================================================
   MODALS - BULLETPROOF SCROLL FIX
   ============================================================ */
/* Keep Bootstrap's modal positioning but override inner layout */
.modal-dialog {
  margin: 16px auto;
}
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 32px);
}
/* The content box must be a flex column with fixed max-height */
.modal-content {
  background: var(--bg-dark2) !important;
  border: 1px solid var(--border2) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  /* Flex column so header/footer stay fixed, body scrolls */
  display: flex !important;
  flex-direction: column !important;
  /* Never taller than 88% of viewport */
  max-height: 88vh !important;
  overflow: hidden !important;
}
.modal-header {
  background: var(--bg-dark3);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 14px 20px;
  /* Must NOT shrink — stays at top */
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}
.modal-title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.modal-body {
  padding: 20px;
  /* Takes all remaining space and scrolls */
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  /* Scrollbar always visible when needed */
  overscroll-behavior: contain;
}
.modal-footer {
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  /* Must NOT shrink — stays at bottom */
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}
/* Custom scrollbar inside modal */
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: var(--bg-dark3); border-radius: 3px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
.modal-body::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.btn-close { filter: invert(1); }

/* Modal section headers */
.modal-section {
  background: var(--bg-dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.modal-section-title {
  font-weight: 700;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* ============================================================
   BADGES & STATUS
   ============================================================ */
.durum-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}
.badge-servis-no {
  font-family: var(--font-mono);
  background: var(--bg-dark3);
  border: 1px solid var(--border2);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  position: relative;
}
.search-bar i {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-bar input { padding-left: 32px; }

/* ============================================================
   FILTER ROW
   ============================================================ */
.filter-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(79,142,247,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6,182,212,0.05) 0%, transparent 50%);
}
.login-card {
  background: var(--bg-dark2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo i {
  font-size: 40px;
  color: var(--accent);
}
.login-logo h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 4px;
}
.login-logo p { color: var(--text-muted); font-size: 13px; }

/* ============================================================
   SERVIS DETAY
   ============================================================ */
.servis-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.servis-no-big {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.info-item {}
.info-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.info-value { font-size: 14px; font-weight: 600; margin-top: 2px; }

/* Timeline */
.timeline { position: relative; padding: 0; list-style: none; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-left: 40px; margin-bottom: 20px; }
.timeline-dot {
  position: absolute;
  left: 8px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-dark);
}
.timeline-content {
  background: var(--bg-dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.timeline-date { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   KASA
   ============================================================ */
.kasa-totals {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.kasa-total-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.kasa-total-row:last-child { border-bottom: none; }
.kasa-total-row.toplam {
  background: var(--bg-dark3);
  font-weight: 800;
  font-size: 16px;
}
.amount-positive { color: var(--success); font-weight: 700; }
.amount-negative { color: var(--danger); font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.collapsed { transform: translateX(0); width: var(--sidebar-w); }
  .main-wrapper { margin-left: 0; }
  .main-wrapper.sidebar-collapsed { margin-left: 0; }
  .sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
  }
  .sidebar-overlay.active { display: block; }
  .page-content { padding: 16px; }
}

@media (max-width: 767.98px) {
  .filter-row { flex-direction: column; }
  .stat-card { padding: 14px; }
  .stat-value { font-size: 20px; }
  .page-title { font-size: 18px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-accent { color: var(--accent); }
.bg-card { background: var(--bg-card); }
.border-dark { border-color: var(--border) !important; }
.cursor-pointer { cursor: pointer; }
.font-mono { font-family: var(--font-mono); }
.fw-800 { font-weight: 800; }
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* ============================================================
   FLATPICKR DARK THEME
   ============================================================ */
.flatpickr-calendar {
  background: var(--bg-dark2) !important;
  border: 1px solid var(--border2) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  color: var(--text-primary) !important;
}
.flatpickr-months { background: var(--bg-dark3) !important; border-radius: var(--radius) var(--radius) 0 0 !important; }
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-monthDropdown-months,
.numInputWrapper span,
.flatpickr-current-month .numInputWrapper input { color: var(--text-primary) !important; background: transparent !important; }
.flatpickr-weekday { color: var(--text-secondary) !important; background: var(--bg-dark3) !important; }
.flatpickr-weekdays { background: var(--bg-dark3) !important; }
.flatpickr-day { color: var(--text-primary) !important; border-radius: var(--radius-sm) !important; }
.flatpickr-day:hover { background: var(--bg-hover) !important; border-color: var(--border2) !important; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
  background: var(--accent) !important; border-color: var(--accent) !important; color: white !important;
}
.flatpickr-day.today { border-color: var(--accent) !important; color: var(--accent) !important; }
.flatpickr-day.today:hover { background: var(--accent-light) !important; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: var(--text-muted) !important; }
.flatpickr-prev-month, .flatpickr-next-month { color: var(--text-secondary) !important; fill: var(--text-secondary) !important; }
.flatpickr-prev-month:hover, .flatpickr-next-month:hover { color: var(--accent) !important; fill: var(--accent) !important; }
.numInputWrapper:hover, .flatpickr-current-month .numInputWrapper:hover { background: var(--bg-hover) !important; }
.flatpickr-monthDropdown-months option { background: var(--bg-dark2) !important; }
.flatpickr-input[readonly] { cursor: pointer; }

/* ============================================================
   AYARLAR LİSTELER - font renk düzeltmesi
   ============================================================ */
.tab-content .card-body div span,
.tab-content .card-body div,
.tab-pane div,
.tab-pane span {
  color: var(--text-primary);
}
.tab-pane .card-body div[style*="border-bottom"] span {
  color: var(--text-primary) !important;
  font-size: 13px;
}
/* Ayarlar tab links */
.nav-tabs .nav-link { color: var(--text-secondary) !important; border-color: transparent !important; background: transparent; }
.nav-tabs .nav-link.active { color: var(--accent) !important; border-bottom-color: var(--accent) !important; background: transparent; font-weight: 700; }
.nav-tabs .nav-link:hover { color: var(--text-primary) !important; }
.nav-tabs { border-color: var(--border) !important; }

/* Genel list item rengi */
.list-item-row {
  color: var(--text-primary) !important;
  font-size: 13px;
}

/* ============================================================
   TC KİMLİK GECİRİM ALANI
   ============================================================ */
.tc-feedback { font-size: 11px; color: var(--danger); margin-top: 3px; }

/* ============================================================
   SERVİS DETAY SAYFA İYİLEŞTİRMELERİ
   ============================================================ */
.servis-detay-card .card-header {
  color: var(--text-primary) !important;
  font-weight: 700;
}
.info-item .info-label { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; }
.info-item .info-value { color: var(--text-primary); font-weight: 600; font-size: 14px; }
/* table in servis detay */
.servis-detay-table td:first-child { color: var(--text-secondary); font-size: 12px; }
.servis-detay-table td:last-child { color: var(--text-primary); font-weight: 600; }
/* card-header rengi global fix */
.card-header { color: var(--text-primary) !important; }
.card-header i { color: var(--accent); }

/* ============================================================
   NUMBER / MONEY INPUTS — no spinner arrows, clean look
   ============================================================ */
input[type="number"].money-input,
input[type="number"].qty-input,
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ============================================================
   SAYI GİRİŞ ALANLARI — virgüllü basamak gösterme
   ============================================================ */
/* Tarayıcının kendi spin butonunu gizle */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }

/* Para alanı — placeholder ve değer formatı JS ile düzenlenir */
input[type="number"].money-input,
input.money-input {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
}
