/* Genel Tablo Kapsayıcısı */
#bayi-listesi {
    margin-bottom: 150px;
    margin-top: 30px;
}
.responsive-table {
  width: 100%;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 5 Kolonlu Grid Yapısı (Masaüstü) */
.table-header, .table-row {
  display: grid;
  grid-template-columns: 3fr 2fr 4fr 1.5fr;
  align-items: center;
  padding: 15px 20px;
}

/* Tablo Başlık Alanı */
.table-header {
  background-color: #066c71;
  color: #ffffff !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Tablo Satırları */
.table-row {
  background-color: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  transition: background-color 0.2s ease;
}

/* Satır Üzerine Gelindiğinde (Hover etkisi) */
.table-row:hover {
  background-color: #F7FAFC;
}

/* Hücreler */
.table-cell {
  font-size: 15px;
}
.table-cell .badge {
    font-size: 16px;
}
.table-header .table-cell:nth-child(2), .table-header .table-cell:nth-child(4) {
    text-align: center;
}
.table-row .table-cell:nth-child(2), .table-row .table-cell:nth-child(4) {
    text-align: center;
}

/* Durum Rozetleri (Badge) için Görsel Dokunuşlar */
.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.badge.success { background-color: #C6F6D5; color: #22543D; }
.badge.warning { background-color: #FEFCBF; color: #744210; }


/* ==========================================================================
   RESPONSIVE KODLAR (Mobil ve Tablet Görünümü - 768px altı ekranlar)
   ========================================================================== */
@media screen and (max-width: 768px) {
  #vmap {
    display: none !important; /* Mobilde haritayı tamamen gizle */
  }
  .city-select {
    margin-top: 50px;
  }

  /* Gerçek başlık satırını mobilde gizliyoruz */
  .table-header {
    display: none;
  }
  
  /* Satırları tek sütunlu (alt alta) kartlara dönüştürüyoruz */
  .table-row {
    grid-template-columns: 1fr;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #CBD5E0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  }

  /* Her hücreyi mobilde iki sütunlu (Başlık : Değer) yapıyoruz */
  .table-cell {
    display: grid;
    grid-template-columns: 40% 60%;
    padding: 8px 0;
    border-bottom: 1px dashed #EDF2F7;
  }

  /* Son hücrenin altındaki çizgiyi kaldırıyoruz */
  .table-cell:last-child {
    border-bottom: none;
  }

  /* data-label içeriğini kullanarak sol tarafa başlık yazdırıyoruz */
  .table-cell::before {
    content: attr(data-label);
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    font-size: 13px;
  }

    .table-header .table-cell:nth-child(2), .table-header .table-cell:nth-child(4) {
        text-align: left;
    }
    .table-row .table-cell:nth-child(2), .table-row .table-cell:nth-child(4) {
        text-align: left;
    }
}

/* ------------------------------------- */
.jqvmap-label
{
	position: absolute;
	display: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #292929;
	color: white;
	font-family: sans-serif, Verdana;
	font-size: smaller;
	padding: 3px;
    pointer-events:none;
}
.jqvmap-pin {
  pointer-events:none;
}
.jqvmap-zoomin, .jqvmap-zoomout
{
	position: absolute;
	left: 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #000000;
	padding: 3px;
	color: white;
	width: 10px;
	height: 10px;
	cursor: pointer;
	line-height: 10px;
	text-align: center;
}
.jqvmap-zoomin
{
	top: 10px;
}
.jqvmap-zoomout
{
	top: 30px;
}
.jqvmap-region
{
  cursor: pointer;
}
.jqvmap-ajax_response
{
  width: 100%;
  height: 500px;
}
