.dashboard-card {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      margin: 16px;
      margin-bottom: 50px;
    }

    .card-header {
      background: linear-gradient(to right, #c1c1c1, #e0e0e0) !important; /* Daha açık gri geçişi */
      color: #333; /* Koyu gri yazı rengi */
      padding: 10px;
      font-size: 14px;
      font-weight: bold;
      text-align: center;
    }

    .card-header2 {
      background: linear-gradient(to right, #c1c1c1, #e0e0e0) !important; /* Daha açık gri geçişi */
      color: #333; /* Koyu gri yazı rengi */
      padding: 10px;
      font-size: 14px;
      font-weight: bold;
      text-align: center;
    }

    /* Özet kartı .card içinde olduğu için tema .card .card-header boşluğunu ezer */
    .dashboard-card > .card-header,
    .dashboard-card > .card-header2 {
      padding: 10px 12px !important;
      margin: 0 !important;
      font-size: 14px !important;
      font-weight: 700;
      line-height: 1.35;
      letter-spacing: normal;
      text-align: center;
      border-radius: 0;
    }



    .chart-container {
      padding:5px;
      text-align: center;
    }

    .chart-title {
      font-size: 14px;
      color: #333;
      margin: 8px 0;
      font-weight: bold;
    }

/* Responsive ayar */
@media (max-width: 768px) {
  .dashboard-card {
    margin: 8px;
  }

  .dashboard-card > .card-header,
  .dashboard-card > .card-header2 {
    font-size: 15px !important;
    padding: 10px 12px !important;
  }

  .chart-title {
    font-size: 14px;
    font-weight: bold;
  }
}

/* Modal backdrop sorunu için */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

/* Modal açık değilken backdrop'ü gizle */
body:not(.modal-open) .modal-backdrop {
    display: none !important;
}

.btn.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0; }
  .btn.btn-icon-text .btn-icon-prepend {
    margin-right: .5rem; }
  .btn.btn-icon-text .btn-icon-append {
    margin-left: .5rem; }

/* Tablo satırı işlem butonları */
table tbody td:has(.btn),
table.dataTable tbody td:has(.btn) {
  vertical-align: middle !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

table tbody td .btn,
table.dataTable tbody td .btn {
  font-size: 12px;
  line-height: 1;
  letter-spacing: normal;
  vertical-align: middle;
  box-shadow: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

table tbody td .btn.btn-icon,
table.dataTable tbody td .btn.btn-icon,
.dataTables_wrapper table tbody td .btn.btn-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  padding: 0 !important;
  margin: 3px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 32px;
  font-size: 13px !important;
  line-height: 1 !important;
}

table tbody td .btn.btn-icon i,
table.dataTable tbody td .btn.btn-icon i {
  font-size: 13px;
  line-height: 1;
  margin: 0;
  pointer-events: none;
}

table tbody td > a:has(> .btn),
table.dataTable tbody td > a:has(> .btn) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
  text-decoration: none;
  vertical-align: middle;
}

table tbody td .btn:not(.btn-icon),
table.dataTable tbody td .btn:not(.btn-icon),
.dataTables_wrapper table tbody td .btn:not(.btn-icon) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
  min-height: 32px;
  margin: 3px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

table tbody td > a:has(> i.fa):not(:has(.btn)),
table.dataTable tbody td > a:has(> i.fa):not(:has(.btn)) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 3px;
  border-radius: 8px;
  background: rgba(0, 98, 255, 0.12);
  color: #0062ff !important;
  text-decoration: none;
  vertical-align: middle;
  transition: background-color .15s ease, color .15s ease;
}

table tbody td > a:has(> i.fa):not(:has(.btn)):hover,
table.dataTable tbody td > a:has(> i.fa):not(:has(.btn)):hover {
  background: #0062ff;
  color: #fff !important;
}

table tbody td > a:has(> i.fa):not(:has(.btn)) i,
table.dataTable tbody td > a:has(> i.fa):not(:has(.btn)) i {
  font-size: 13px;
  line-height: 1;
  margin: 0;
}

/* Sütun genişliği içeriğe göre; tablo kartı yatay kayar */
.list-product,
.dataTables_wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
}

.list-product #project-status,
.list-product table.table,
.page-body table.table,
.page-body table.dataTable,
table.dataTable,
div.dataTables_wrapper table.dataTable {
  table-layout: auto !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  float: none !important;
}

.list-product #project-status col,
.page-body table.dataTable col,
table.dataTable col {
  width: auto !important;
}

.list-product #project-status th,
.list-product #project-status td,
.page-body table.table th,
.page-body table.table td,
table.dataTable thead th,
table.dataTable tbody td {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: nowrap;
}

.list-product #project-status thead tr.filters th input,
.list-product #project-status thead tr.filters th select,
.list-product #project-status thead tr.filters th button.form-control,
#project-status thead tr.filters th .form-control,
#project-status thead tr.filters th .filter-input {
  display: block;
  width: 0 !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  table tbody td .btn.btn-icon,
  table.dataTable tbody td .btn.btn-icon,
  .dataTables_wrapper table tbody td .btn.btn-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    flex-basis: 36px;
    font-size: 14px !important;
  }

  table tbody td > a:has(> i.fa):not(:has(.btn)),
  table.dataTable tbody td > a:has(> i.fa):not(:has(.btn)) {
    width: 36px;
    height: 36px;
  }

  table tbody td .btn:not(.btn-icon),
  table.dataTable tbody td .btn:not(.btn-icon) {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

button.formula-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8eef8;
  color: #2457a6;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px #b7c7e3;
}

button.formula-info:hover,
button.formula-info:focus {
  background: #2457a6;
  color: #fff;
  outline: none;
}

.formula-tooltip .tooltip-inner {
  max-width: 360px;
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
  padding: 10px 12px;
}


    