table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

th,
td {
    border: 1px solid #000;
    padding: 6px 8px;
    vertical-align: middle;
}

th {
    background-color: #2F75B5;
    color: white;
    text-align: left;
}

.section-title {
    background-color: #2F75B5;
    color: white;
    font-weight: bold;
    padding: 8px;
    font-size: 15px;
}

.sub-section-title {
    background-color: #B4C6E7;
    font-weight: bold;
    padding: 6px;
}

.checkbox {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #000;
    vertical-align: middle;
    margin-right: 5px;
}

.checked {
    background-color: #000;
    color: white;
    text-align: center;
    font-size: 12px;
    line-height: 12px;
}

#jsonUploadArea {
    border: 2px dashed #2F75B5;
    padding: 25px;
    text-align: center;
    color: #2F75B5;
    font-weight: bold;
    margin: 20px auto;
    width: 80%;
    border-radius: 12px;
    background-color: #f0f8ff;
    transition: 0.3s;
}

#jsonUploadArea.dragover {
    background-color: #d9ecff;
    border-color: #0056b3;
    color: #0056b3;
}

@media print {
    #jsonUploadArea {
        display: none !important;
    }
}
/* Ekranın sol alt köşesine sabitle */
#fixedButtons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999; /* her zaman üstte olsun */
}

/* Yazdırma sırasında gizle */
@media print {
  #fixedButtons {
    display: none;
  }
}


input {
  width: 100%;
  border: none;
  font-weight: bold;
  font-size: 12px;
  padding: 6px 8px;
  background-color: #f8f9fa;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
  text-align: center; /* Yazıyı ortalar */
}

input:focus {
  outline: none;
  background-color: #e9ecef;
}


/* Tüm textarea’lar için özel stil */
textarea.rapor-textarea {
    border: none;             /* Çerçeve yok */
    font-weight: bold;         /* Kalın yazı */
    text-align: center;        /* Yazı ortalı */
    background: transparent;   /* Arka plan yok */
    font-family: inherit;      /* Sayfa yazı tipine uyumlu */
    resize: none;              /* Kullanıcı yeniden boyutlayamaz */
    overflow: hidden;          /* Taşmaları gizle */
    padding: 0 5px;            /* Sağ-sol boşluk */
    min-width: 50px;           /* Minimum genişlik */
    display: inline-block;     /* İçeriğe göre boyutlanabilmesi için */
}

.ilDisplay, .ilceDisplay, .mahalleDisplay, .adaDisplay, .parselDisplay, .alanDisplay, .nitelikDisplay, .paftaDisplay {
    margin: 0;
    padding: 0;
    display: inline;
    font-weight: bold;
}


.bosluk{
    margin-top:0;
    margin-bottom: 0;
}

/* Checkbox genel görünümü */
.tapunun-turu {
  width: 22px;
  height: 22px;
  cursor: pointer;
  margin-right: 10px;
  accent-color: #007bff; /* Mavi işaret rengi */
}

/* Her satırı yatay hizala */
td div label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 5px 0;
}

/* Hover efekti */
td div label:hover {
  color: #0056b3;
  transition: 0.2s ease;
}

/* Kutuların görünümünü daha modern yapmak istersen (tarayıcı destekli) */
input[type="checkbox"].tapunun-turu {
  transform: scale(1); /* %30 daha büyük */
  margin-bottom: 0;
}


/* Modern yeşil çerçeve efekti */
.yesil {
  border: 2px solid #28a745; /* Yeşil çerçeve */
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
  transition: all 0.3s ease-in-out;
}

/* Hover’da hafif parlama efekti */
.yesil:hover {
  box-shadow: 0 0 15px rgba(40, 167, 69, 0.8);
  transform: scale(1.02);
}

/* İç boşluk eklemek istersen */
.yesil-padding {
  padding: 10px;
}

/* --- Yazdırma modunda görünmesin --- */
@media print {
  .yesil {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
  }
}

#idb {
  padding: 0;
  margin: 0;
}

#idb textarea {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  resize: none;
  box-sizing: border-box;
  font-weight: bold;
  text-align: center;
}

.raport {
    width: 24%;
  display: inline-flex;
  align-items: left;
  justify-content: center;
  gap: 10px; /* aralarındaki boşluk */
  flex-wrap: wrap; /* taşarsa alta geçsin */
}


.map-normal, .map-uydu, .map-hibrit, .map-yol, .map-arazi {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-align: center;
}

.map-box {
  width: 100%;
  height: 600px;
  border-radius: 8px;
  overflow: hidden;
}

#emsal {
  padding: 5;
  margin: 5;
}

#emsal textarea {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  resize: none;
  box-sizing: border-box;
  font-weight: bold;
  text-align: center;
}
/* Seçim alanlarını yan yana ve sayfa ortalı yap */
.secimAlani {
  display: flex;
  justify-content: center; /* Sayfada ortalar */
  gap: 50px; /* Alanlar arası boşluk */
  margin-top: 20px;
  flex-wrap: wrap; /* Küçük ekranlarda alt alta geçer */
}

/* Her alanın yarısını kaplamasını sağla */
.secimAlani > div {
  flex: 1 1 300px; /* Esneyebilir, min 300px */
  max-width: 400px;
}

/* Label ve select blok halinde */
.secimAlani label, .secimAlani select {
  display: block;
  width: 100%;
  font-size: 16px;
  margin-bottom: 10px;
  box-sizing: border-box;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Yazdırmada seçim alanlarını gizle */
@media print {
  .secimAlani {
    display: none !important;
  }
}

@media print {
    .map-hibritt, .map-hibrit, .map-arazi {
        page-break-inside: avoid; /* Sayfa ortasında bölünmeyi engeller */
        break-inside: avoid;
        display: block;
    }
}

.silButon {
  background-color: #B4C6E7;        /* kırmızı */
  color: #ffffff !important;        /* X beyaz ve zorunlu */
  border: none;
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 6px;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.silButon:hover {
  background-color: #c82333;        /* hover kırmızısı */
  transform: scale(1.05);
}

.silButon:active {
  background-color: #a71d2a;        /* tıklama rengi */
  transform: scale(0.95);
}

/* Yazdırmada görünmesin */
@media print {
  .silButon {
    display: none !important;
  }
}


.print-page {
    page-break-inside: avoid;
    break-inside: avoid;
    overflow: hidden;
}

@media print {
    .print-page {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        height: 100vh; /* Sayfa kadar olacak */
    }
}

@media print {
    #imageUploadArea {
        display: none !important;
    }
}.imageItem {
    position: relative;
    width: 98%;
}

.deleteBtn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    padding: 3px 6px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
}

#imageUploadArea:hover {
    background: #e0e0e0;
}
#imageList img {
    width: 98%;
    height: auto;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 6px;
}


