/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Font Family */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Shared Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadow Definitions */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow-blue: 0 0 15px rgba(59, 130, 246, 0.4);
  --shadow-glow-green: 0 0 15px rgba(16, 185, 129, 0.4);
  --shadow-glow-gold: 0 0 15px rgba(245, 158, 11, 0.4);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* ==========================================================================
   THEMES (DARK & LIGHT MODE)
   ========================================================================== */
.dark-theme {
  --bg-app: #0b0f19;
  --bg-card: rgba(20, 26, 42, 0.65);
  --bg-card-hover: rgba(28, 36, 58, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.7);
  --bg-input: rgba(13, 19, 33, 0.9);
  
  /* Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-focus: rgba(59, 130, 246, 0.5);
  
  /* Text Colors */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  /* Map Styling */
  --map-bg: #111827;
  --map-city-default: #1f2937;
  --map-city-hover: #374151;
  --map-city-active: #2563eb;
  --map-city-active-hover: #3b82f6;
  --map-city-stroke: #030712;
  --map-city-selected: #8b5cf6;
  --map-city-selected-stroke: #c084fc;
  
  /* Accents */
  --accent-primary: #3b82f6;
  --accent-primary-hover: #2563eb;
  --accent-secondary: #475569;
  --accent-secondary-hover: #334155;
  --accent-danger: #ef4444;
  --accent-danger-hover: #dc2626;
  --accent-success: #10b981;
  
  /* Statuses */
  --glow-color: rgba(59, 130, 246, 0.15);
}

.light-theme {
  --bg-app: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f9fafb;
  --bg-glass: #ffffff;
  --bg-input: #ffffff;
  
  /* Borders */
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-focus: rgba(0, 96, 156, 0.5);
  
  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  /* Map Styling */
  --map-bg: transparent;
  --map-city-default: #cccccc;
  --map-city-hover: #9ca3af;
  --map-city-active: #00609C;
  --map-city-active-hover: #004d7a;
  --map-city-stroke: #ffffff;
  --map-city-selected: #a81c1c;
  --map-city-selected-stroke: #ffffff;
  
  /* Accents */
  --accent-primary: #00609C;
  --accent-primary-hover: #004d7a;
  --accent-secondary: #e2e8f0;
  --accent-secondary-hover: #cbd5e1;
  --accent-danger: #a81c1c;
  --accent-danger-hover: #8b1616;
  --accent-success: #059669;
  
  /* Statuses */
  --glow-color: rgba(0, 96, 156, 0.08);
}

/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.app-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header Section */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-normal), border var(--transition-normal);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-primary);
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.logo-text h1 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  width: 300px;
  transition: width var(--transition-normal);
}

.search-wrapper:focus-within {
  width: 360px;
}

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

#search-input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: all var(--transition-fast);
}

#search-input:focus {
  border-color: var(--border-color-focus);
  box-shadow: 0 0 0 3px var(--glow-color);
}

.clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
}

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

.action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-blue);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--accent-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--accent-secondary-hover);
  border-color: var(--text-muted);
}

.theme-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  background-color: var(--accent-secondary-hover);
  transform: scale(1.05);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   STATS OVERVIEW
   ========================================================================== */
.stats-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  width: 24px;
  height: 24px;
}

/* Glowing colors for icon wrappers */
.blue-glow {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.green-glow {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.gold-glow {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   MAIN DASHBOARD GRID
   ========================================================================== */
.main-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #eeeeee;

  overflow: hidden;
  transition: all var(--transition-normal);
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Map Legend */
.map-legend {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 600;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.legend-dot.empty {
  background-color: var(--map-city-default);
  border: 1px solid var(--border-color);
}

.legend-dot.active {
  background-color: var(--map-city-active);
}

.legend-dot.selected {
  background-color: var(--map-city-selected);
  box-shadow: 0 0 6px var(--map-city-selected-stroke);
}

/* ==========================================================================
   INTERACTIVE MAP VIEWPORT
   ========================================================================== */
.map-viewport {
  /* padding: 24px; */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 400px;
  background-color: var(--map-bg);
  transition: background-color var(--transition-normal);
}

.map-svg-container {
  width: 100%;
  max-width: 100%; /* Full width to make it larger */
  height: auto;
  position: relative;
  margin: 0 auto; /* Center the map horizontally */
}

.map-svg-container svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* SVG Path Interactive States */
.map-svg-container svg path {
  fill: var(--map-city-default);
  stroke: var(--map-city-stroke);
  stroke-width: 1px;
  cursor: pointer;
  transition: fill var(--transition-normal), stroke var(--transition-fast), stroke-width var(--transition-fast), transform var(--transition-normal);
  transform-origin: center;
}

/* Hover effect */
.map-svg-container svg path:hover {
  fill: var(--map-city-hover) !important;
  stroke: var(--text-main);
  stroke-width: 1.5px;
}

/* Dynamic City Text Labels */
.city-label {
  font-family: var(--font-main);
  font-size: 7px;
  font-weight: 600;
  fill: #333;
  pointer-events: none;
  user-select: none;
  text-anchor: middle;
  alignment-baseline: middle;
  letter-spacing: 0.3px;
  paint-order: stroke fill;
  stroke: #0000;
  stroke-width: 1px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.city-label.has-dealers,
.city-label.selected {
  fill: #ffffff !important;
  stroke: rgba(0, 0, 0, 0.4) !important;
  stroke-width: 2px !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Active Class (City has dealers) */
.map-svg-container svg path.has-dealers {
  fill: var(--map-city-active);
}

.map-svg-container svg path.has-dealers:hover {
  fill: var(--map-city-active-hover) !important;
}

/* Selected State */
.map-svg-container svg path.selected {
  fill: var(--map-city-selected) !important;
  stroke: var(--map-city-selected-stroke);
  stroke-width: 2px;
  filter: drop-shadow(0 0 6px var(--map-city-selected-stroke));
  animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
  0% {
    stroke-width: 1.5px;
  }
  100% {
    stroke-width: 2.5px;
  }
}

/* Map Loader Spinner */
.map-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Map Floating Tooltip */
.map-tooltip {
  position: fixed;
  pointer-events: none;
  background: #ffffff !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #1e293b !important;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  z-index: 99999 !important;
  transition: opacity var(--transition-fast) ease, transform 0.05s linear;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tooltip-badge {
  font-size: 0.7rem;
  color: #00609c !important;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   DETAILS PANEL STYLING
   ========================================================================== */
.details-card {
  min-height: 490px;
  display: flex;
  flex-direction: column;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  flex: 1;
}

.empty-icon {
  width: 56px;
  height: 56px;
  stroke-width: 1.2px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.85rem;
  max-width: 320px;
}

.empty-state.small {
  padding: 36px 16px;
}

.empty-state.small .empty-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

/* Details Active Panel Content */
.details-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.details-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

.city-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-title-wrapper h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.badge {
  font-size: 0.75rem;
  background-color: var(--glow-color);
  color: var(--accent-primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.dealers-list-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Responsive Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  flex: 1;
}

.dealers-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.dealers-table th {
  padding: 14px 20px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.02);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.dealers-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 15px;
  vertical-align: middle;
  transition: background var(--transition-fast);
}

.dealers-table tbody tr:hover td {
  background: var(--bg-card-hover);
}

/* Columns specific formatting */
.dealers-table td:nth-child(1) { /* İlçe */
  font-weight: 600;
  color: var(--accent-primary);
}

.dealers-table td:nth-child(2) { /* Firma Adı */
  font-weight: 700;
}

.dealers-table td:nth-child(3) { /* Ürün Grubu */
  font-weight: 600;
  font-size: 15px;
}

.dealers-table td:nth-child(4) { /* Telefon */
  white-space: nowrap;
  font-family: monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.dealers-table td:nth-child(5) { /* Notlar */
  color: var(--text-muted);
  font-size: 15px;
  max-width: 250px;
  white-space: normal;
  word-wrap: break-word;
}

.actions-col {
  text-align: right;
  white-space: nowrap;
}

.actions-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Action Buttons inside Table */
.btn-action {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.btn-action svg {
  width: 14px;
  height: 14px;
}

.btn-action.edit:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.08);
}

.btn-action.delete:hover {
  color: var(--accent-danger);
  border-color: var(--accent-danger);
  background: rgba(239, 68, 68, 0.08);
}

/* ==========================================================================
   MODAL DIALOG (GLASSMORPHISM)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal) ease;
}

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

.modal-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

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

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  line-height: 1;
}

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

/* Modal Form Styles */
.modal-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.required {
  color: var(--accent-danger);
}

.form-group input,
.form-group textarea {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-color-focus);
  box-shadow: 0 0 0 3px var(--glow-color);
}

.form-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

/* Highlight Animation for Search Results or Updates */
@keyframes row-highlight {
  0% { background-color: rgba(59, 130, 246, 0.25); }
  100% { background-color: transparent; }
}

.row-new {
  animation: row-highlight 2s ease-out;
}

/* Save Button Unsaved Changes Indicator */
.btn-primary.unsaved {
  position: relative;
  animation: pulse-glow-save 2s infinite alternate;
}

@keyframes pulse-glow-save {
  0% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.4);
  }
  100% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8), 0 0 25px rgba(59, 130, 246, 0.4);
  }
}

.btn-primary.unsaved::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background-color: var(--accent-danger, #ef4444);
  border: 2px solid var(--bg-card, #0f172b);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.8);
}

/* City Link in Tables */
.search-result-city-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.2s ease;
  font-size: 15px;
}
.search-result-city-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .map-viewport {
    min-height: 250px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 15px;
  }
  .map-svg-container {
    width: 150%;
    min-width: 500px;
    max-width: none;
    margin: 0 auto;
  }
  
  .city-title-wrapper h2 { font-size: 1.1rem; }
  .badge { font-size: 0.65rem; padding: 3px 8px; }
  .btn { padding: 6px 12px; font-size: 0.75rem; }
  .details-header { padding: 12px 16px; }
  
  .dealers-table th { padding: 10px 12px; font-size: 0.7rem; }
  .dealers-table td { padding: 10px 12px; font-size: 12px !important; }
  .dealers-table td:nth-child(3),
  .dealers-table td:nth-child(4),
  .dealers-table td:nth-child(5) { font-size: 12px !important; }
}
