.svg-turkiye-haritasi {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
.svg-turkiye-haritasi svg {
  width: 100%;
  height: auto;
}
.il-isimleri {
  position: absolute;
  z-index: 2;
}
.il-isimleri div {
  font-family: 'Open Sans';
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 8px 16px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

#svg-turkiye-haritasi path {
  cursor: pointer;
  fill: #D3D3D3; /* Varsayılan soft gri */
  stroke: #999;
  stroke-width: 1;
}

#svg-turkiye-haritasi path:hover {
  fill: #666;
}

/* Müşteri olan şehirler - Mavi */
#svg-turkiye-haritasi path.musteri-var {
  fill: #2196F3; /* Mavi */
}

#svg-turkiye-haritasi path.musteri-var:hover {
  fill: #1976D2; /* Koyu mavi */
}

/* Boş şehirler - Soft Gri */
#svg-turkiye-haritasi path.musteri-yok {
  fill: #E5E5E5; /* Soft gri */
}

#svg-turkiye-haritasi path.musteri-yok:hover {
  fill: #CCCCCC; /* Hover gri */
}

.musteri-bilgi {
  padding: 0;
  background: #f9f9f9;
  border-top: 1px solid #ccc;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  max-height: 600px;
  overflow-y: auto;
}

/* Müşteri Header */
.musteri-header {
  background: white;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.musteri-header h3 {
  margin: 0 0 15px 0;
  font-size: 24px;
  color: #2196F3;
}

.musteri-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.musteri-stats {
  display: flex;
  align-items: center;
  gap: 10px;
}

.total-count {
  background: #2196F3;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.filtered-info {
  color: #666;
  font-size: 12px;
}

/* Arama Kutusu */
.search-container {
  flex: 1;
  max-width: 300px;
}

#customerSearch {
  width: 100%;
  padding: 8px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

#customerSearch:focus {
  border-color: #2196F3;
}

/* Görünüm Kontrolleri */
.view-controls {
  display: flex;
  gap: 5px;
}

.view-controls button {
  padding: 8px 15px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
}

.view-controls button:hover {
  border-color: #2196F3;
}

.view-controls button.active {
  background: #2196F3;
  color: white;
  border-color: #2196F3;
}

/* Müşteri İçeriği */
.musteri-content {
  padding: 20px;
}

/* Grid Görünümü */
.musteri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.musteri-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s;
  position: relative;
}

.musteri-card:hover {
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
  border-color: #2196F3;
}

.musteri-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.musteri-card-header h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
  line-height: 1.3;
  flex: 1;
}

.musteri-badge {
  background: #2196F3;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  margin-left: 10px;
}

.musteri-card-body p {
  margin: 5px 0;
  font-size: 13px;
  color: #666;
}

.musteri-card-body .label {
  font-weight: 600;
  color: #333;
}

/* Liste Görünümü */
.musteri-list {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.musteri-table {
  width: 100%;
  border-collapse: collapse;
}

.musteri-table th,
.musteri-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.musteri-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #555;
  font-size: 13px;
}

.musteri-table td {
  font-size: 14px;
}

.musteri-table tr:hover {
  background: #f8f9fa;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.status-badge.aktif {
  background: #e8f5e8;
  color: #2e7d32;
}

/* Sayfalama */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 20px;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.pagination button {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  background: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  min-width: 40px;
}

.pagination button:hover {
  background: #f0f0f0;
  border-color: #2196F3;
}

.pagination button.active {
  background: #2196F3;
  color: white;
  border-color: #2196F3;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .musteri-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-container {
    max-width: none;
  }
  
  .musteri-grid {
    grid-template-columns: 1fr;
  }
  
  .musteri-table {
    font-size: 12px;
  }
  
  .musteri-table th,
  .musteri-table td {
    padding: 8px 10px;
  }
}

/* Scrollbar Styling */
.musteri-bilgi::-webkit-scrollbar {
  width: 6px;
}

.musteri-bilgi::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.musteri-bilgi::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.musteri-bilgi::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}