/* Genel tablo stilleri */
table.dataTable {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

  /* Başlıklar */
  table.dataTable thead {
    background-color: #336699; /* Açık lacivert (eski: #002b5c) */
  }

    table.dataTable thead th {
      padding: 12px 15px;
      text-align: left;
      font-weight: 600;
      color: #ffffff; /* Beyaz yazı */
      border-bottom: 1px solid #2a4d80; /* Açık lacivertin koyu tonu */
      text-transform: capitalize;
    }


  /* Zebra satırlar */
  table.dataTable tbody tr:nth-child(odd) {
    background-color: #ffffff;
  }

  table.dataTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
  }

  table.dataTable tbody td {
    padding: 10px 15px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
  }

  /* Hover efekti */
  table.dataTable tbody tr:hover {
    background-color: #e6f0ff;
  }

/* Responsive scroll için */
.dataTables_wrapper .dataTables_scroll {
  overflow-x: auto;
}

/* Arama kutusu */
.dataTables_wrapper .dataTables_filter {
  text-align: right;
  margin-bottom: 10px;
}

  .dataTables_wrapper .dataTables_filter input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fafafa;
    transition: 0.3s;
  }

    .dataTables_wrapper .dataTables_filter input:focus {
      border-color: #002b5c;
      background: #fff;
      outline: none;
    }

/* Sayfalama */
.dataTables_wrapper .dataTables_paginate {
  text-align: right;
  padding-top: 10px;
}

  .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f8f8f8;
    color: #002b5c;
    cursor: pointer;
    transition: 0.3s;
  }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current,
    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
      background: #002b5c;
      color: #fff !important;
      border-color: #002b5c;
    }

/* Sayfa bilgi kısmı */
.dataTables_wrapper .dataTables_info {
  font-size: 13px;
  margin-top: 10px;
  color: #666;
}

/* Dropdown boyut seçici */
.dataTables_wrapper .dataTables_length {
  margin-bottom: 10px;
}

/* Responsive görünüm */
@media screen and (max-width: 768px) {
  table.dataTable thead {
    display: none;
  }

  table.dataTable tbody td {
    display: block;
    width: 100%;
    text-align: right;
    padding-left: 50%;
    position: relative;
    border-bottom: 1px solid #eee;
  }

    table.dataTable tbody td::before {
      content: attr(data-label);
      position: absolute;
      left: 15px;
      width: 45%;
      padding-right: 10px;
      white-space: nowrap;
      font-weight: bold;
      text-align: left;
      color: #999;
    }
}

/* Beyaz ikonlar (örnek FontAwesome) */
.dataTables_wrapper .paginate_button i,
.dataTables_wrapper .dataTables_filter i {
  color: #fff !important;
}


