body {
  min-height: 100vh;
  font-family: Verdana, Geneva, sans-serif;
  transition: opacity 1s ease-in-out;
  font-size: 12px !important;
  margin: 0;
  padding: 0;
}

div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-start {
  background: #f9f9f9;
  padding: 8px;
  text-align: center;
  border-top: 1px solid #ccc;
  box-sizing: border-box;
}

tr:hover {
  transform: none !important;
  color: blue;
  font-weight: bold;
}

th, td {
  font-size: 12px !important;
}

a {
  text-decoration: none;
}

thead{
	position: sticky;
	top: 0px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 9999;
  margin-left: -60px;
  opacity: 0;
  word-break: break-word;
  transition: opacity 0.3s;
}

.dt-scroll-body {
  position: relative !important;
  overflow: visible !important;
}

.tooltip-global {
  display: none;
  max-width: 300px;
  white-space: normal;
}

table {
  color: black;
  width: 100% !important;
  margin-bottom: 20px;
  box-sizing: border-box;
}

tr.veri:hover {
  font-weight: normal;
  color: blue;
  transform: none !important;
  transition: 0.2s;
  background-color: #FFFACD !important;
  cursor: default;
}

tr.odd {
  background-color: transparent;
}

/* 📱 SİBER MOBİL OPTİMİZASYON KALKANI (768px ve altı cihazlar için) */
@media screen and (max-width: 768px) {
  /* Tablonun dış kapsayıcısının sağa sola pürüzsüzce kaymasını sağlar, ekranı patlatmaz */
  div.dt-container {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  table {
    display: table !important;
    width: 100% !important;
  }

  /* Mobilde th ve td etiketlerinin birbirine girmemesi için boşluk dengesi */
  th, td {
    padding: 6px 4px !important;
    font-size: 11px !important; /* Okunabilirliği koruyan mobil yazı boyutu */
/*     white-space: wrap; /* Satırların anlamsızca aşağı kırılmasını engeller, kaydırmayı tetikler */ */
    word-break: break-word;
  }

  /* DataTables v3 üst ve alt katman satırlarını mobilde alt alta nizami dizer */
  div.dt-container div.dt-layout-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    margin: 10px 0;
  }

  div.dt-container div.dt-layout-row div.dt-layout-cell {
    width: 100% !important;
    text-align: left !important;
    padding: 4px 0 !important;
  }

  tr.veri:hover {
    transform: none !important;
    background-color: #FFFACD !important;
  }

  .tooltip .tooltiptext {
    width: 140px !important;
    left: 0 !important;
    margin-left: 0 !important;
  }
}
