#il-formu {  display: inline-flex;
  flex-direction: column;
  width: auto;
  max-width: 100%;

  background: white;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px #aaa;
  border-radius: 8px;
  margin: 20px auto;
  overflow-wrap: break-word; /* Uzun kelimeleri satır sonuna göre kırar */
  word-break: break-word;     /* Taşan kelimeleri kırar */
  overflow: visible;           /* Taşan içerikleri kutu dışına çıkarmasını engeller */
  box-sizing: border-box; /* padding dahil genişlik kontrolü için */
  
  left:35%;


}

#il-formu h3 {
  margin-top: 0;
  color: #333;
}

#il-formu, #aciklama {
  height: auto !important;
  max-height: none !important;
}
#aciklama {
  display: flex; /* span varsayılan inline olduğu için blok yap */
  word-wrap: break-word; /* uzun kelimeleri satır kır */
  white-space: normal; /* satır sonlarında kırılmaya izin ver */
  overflow-wrap: break-word;
  gap: 20px; /* içerikler arası boşluk */
  flex-wrap: wrap; /* daraldığında alt satıra geçsin */
  justify-content: center; /* ortalamak istersen */
}
.aciklama-item {
flex: 1 1 500px; /* Minimum genişlik 500px */
  max-width: 500px; /* Maksimum genişlik 500px */
  background: #f0f0f0;
  padding: 10px;
  border-radius: 6px;
  box-sizing: border-box;
}
#il-formu button {
  position: relative;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-bottom: 3%;
}

#il-formu button:hover {
  background-color: #c0392b;

}
.kapat-btn {
  position: relative;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: #e74c3c;
  cursor: pointer;
  transition: color 0.3s ease;
}

.kapat-btn:hover {
  color: #c0392b;
}
#il-formu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Mobil ekranlarda genişlik ekranın tamamı olsun */
@media screen and (max-width: 768px) {
  #il-formu {
    width: 100vw;
    max-width: 100vw;
    height: 100vh; /* dilersen tam ekran yükseklik için eklenebilir */
    border-radius: 0; /* köşeleri düzleştirmek için */
    margin: 0;
  }
  #aciklama {
    flex-direction: column;
  }
  .aciklama-item {
    flex: none;
    width: 100%;    
    max-width: 100%;
  }
   #il-formu button {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 1000;
  }
}