/* === Genel Ayarlar === */
:root {
  --bs-primary-t: #0058b7;
  --bs-primary-rgb: 0, 114, 188;
  --bs-secondary2: #026df7;
  --bs-secondary-rgb: 33, 150, 243;
  --bs-light-blue: #c8e0ff;
  --bs-border-color: #dee2e6;
  --dark-regular: #7ccaff87;
  --danger-color: #dc3545;
  --success-color: #28a745;
}

body {
  font-family: Arial, sans-serif;
  /*font-family: Roboto; */
  height: 100%;
  background: #ffffff;
  -webkit-overflow-scrolling: touch
}

/* sayfa gölgeli kenarlık */
#container {
  position: relative;
  height: auto !important;
  min-height: 100%;
  width: 100%;
  background: #ffffff;
  -webkit-box-shadow: 0 4px 50px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 4px 50px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.4);
  padding-bottom: 0;
  box-sizing: border-box;
  -moz-background-size: cover;
  background-size: cover;
  display: block;
  margin-bottom: 10px;
  overflow: hidden
}

.content_mx {
  width: 99%;
  margin: 6px;
  position: absolute;
}

.content {
  margin: auto;
}

.hidden {
    display: none;
}

.show {
    display: block !important
}

.message {
    text-align: center;
    color: red;
    margin-top: 20px
}

/* ==  == */
.navbar {
    overflow: hidden;
    background-color: #333
}

.navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none
}

.navbar a:hover {
    background-color: #ddd;
    color: black
}


.page-title-2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--bs-primary-t);
  text-align: center;
  padding-top: 0.3rem;
}

/* === Formlar === */
.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 92vh;
}

form {
    width: 100%;
    text-align: left;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 0 auto
}
/*
input[type="text"], input[type="password"], input[type="date"], input[type="number"] {
    width: 94%;
    padding: 6px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px
}
*/
input[type="submit"] {
    width: 100%;
    padding: 6px;
    background-color: #028ff7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 14px;
}

input[type="submit"]:hover {
    background-color: #0066d3
}


/* === Giriş Alanları ve Arama Kutuları === */
.girisalanlari_container {
    display: flex;
    flex-direction: column;
    gap: 1px;
    /* margin-bottom: 10px; */
}

.girisalanlari_row * {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.girisalanlari_row {
    display: flex;
    align-items: center;
    gap: 5px; /* Label ile input arasında boşluk bırakır */
    margin-bottom: 0; /*1px; */ /* Satırların arasında daha küçük bir boşluk bırakır */
    flex-wrap: wrap; /* Alanların taşmasını önlemek için */
}

.girisalanlari_row label {
    font-weight: bold; /* Yazıyı belirginleştirir */
    min-width: 100px; /* Tüm yazılar aynı genişlikte olur */
    text-align: left; /* Yazıları sağa hizalar */
    margin-right: 5px; /* Input ile arasında boşluk bırakır */
    margin-top: 10px;
}

.girisalanlari_row input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    flex: 1; /* Giriş alanının kalan alanı kaplamasını sağlar */
    max-width: 150px; /* Maksimum genişlik sınırı */
}

/* -- */
.grup_kutulari_container {
    display: flex; /* Kutuları yan yana yerleştirir */
    gap: 5px; /* Kutular arasında boşluk bırakır */
   /* justify-content: flex-start;*/ /* Kutuları sola hizalar */
    justify-content: space-around; /* Eşit boşluk sağlar */
    margin-left: 20px;
    margin-bottom: 0px;
    flex-wrap: wrap; /* Alan dar olduğunda alta geçmesini sağlar */
}

.grup_kutusu {
    border: 1px solid #ccc; /* Grup kutusu çerçevesi */
    padding: 10px;
    border-radius: 5px;
    width: 30%; /* Her kutunun genişliği (3 grup yan yana sığacak şekilde) */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
}

.grup_kutusu legend {
    font-weight: bold; /* Grup başlığını belirginleştirir */
}

.grup_kutusu label {
    display: block; /* Label'leri satır içine yerleştirir */
    margin-bottom: 5px;
    font-weight: bold;
}

.grup_kutusu input, .grup_kutusu button {
    /* width: 100%; */ /* Tüm alanları grup kutusunun genişliğine uydurur */
    margin-bottom: 0px; /* Alanlar arasında boşluk bırakır */
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 3px;
}


.cmb_secim-selected {
    padding: 10px 15px;
    margin-right: 5px;
    margin-left: 3px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    background-color: #0058b7;
    text-align: center;
    color: white !important
    }

.cmb_secim-selected:hover  {
    background-color: #026df7;
}

.cmb_secim_150 {
    position: relative;
    display: inline-block;
    width: 170px;
    float: right;
    margin: 6px;
}

.cmb_select-items {
    position: absolute;
    background-color: white;
    width: 98%;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ddd;
    z-index: 99;
    display: none;
}

.cmb_select-items label {
       display: block;
        padding: 8px;
        cursor: pointer;
    }

    .cmb_select-items label:hover {
        background-color: #e9e9e9;
    }

    .cmb_select-items input[type="checkbox"] {
        margin-right: 10px;
    }

/* -- */
.tarih_container,
.date-range-container {
    display: flex;
    gap: 10px;
    margin-left: 10px;
    /*margin-bottom: -42px;*/
    align-items: center
}

.tarih_container label,
.date-range-container label {
    font-size: 14px;
    margin-right: 5px;
    white-space: nowrap
}

.tarih_container input[type="date"],
.date-range-container input[type="date"],
#tableSearch {
    width: 140px;
    padding: 8px;
    margin-right: 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px
}


/* === Tablo Stilleri === */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    font-size: 14px;
    text-align: left;
    border: 1px solid #ddd
}

th, td {
    padding: 12px 15px;
    border: 1px solid #ddd
}

thead th {
    background-color: #028ff7;
    color: white;
    font-weight: bold;
    text-align: center
}

tbody tr:nth-child(odd) {
    background-color: #f9f9f9
}

tbody tr:nth-child(even) {
    background-color: #ffffff
}

tbody tr:hover {
    /*background-color: #e6f7ff !important; */ /* Çok açık mavi */
    /*background-color:  #e6f7ff; *//* Çok açık mavi */
    background-color: #cce6ff !important;
    border-left: 3px solid #007bff;
    cursor: pointer; /* İsteğe bağlı: el işareti */

    /* background-color: #f0f8ff; */
}

#tblGelenler tbody tr:hover {
    background-color: #e6f7ff;
}

#tblGelenlerDetay tbody tr:hover {
    background-color: #e6f7ff;
}

tbody tr {
    transition: background-color 0.3s ease;
}

/* === Butonlar === */
.pagination {
    display: flex; /* Butonları esnek kutu modeliyle hizala */
    justify-content: center; /* Yatayda ortala */
    align-items: center; /* Dikeyde hizala */
    margin: 20px 0 /* Yukarıdan ve aşağıdan boşluk */
}

button, .anabutonlar, .sayfalamabutonlari, .pagination .pagination-button {
    padding: 10px 15px;
    margin-right: 6px;
    margin-left: 3px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    background-color: #0058b7;
    color: white !important
}

.tablici_action_container button {
    padding: 5px 14px;
    margin-right: 10px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    background-color: #0058b7;
    font-family: Arial, sans-serif;
    color: white !important
}
.tablici_action_container button:hover {
    background-color: #026df7;
}

.buttons-left button {
    padding: 10px 15px;
    margin-right: 6px;
    margin-left: 3px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    background-color: #0058b7;
    color: white !important
}
.girisalanlari_gelenler {
    display: flex;
    /* margin-left: 6rem; */
}

/*
.anabutonlar,
.pagination .pagination-button,
.sayfalamabutonlari {
    background-color: #028ff7
} */

.anabutonlar:hover,
.pagination .pagination-button:hover,
.sayfalamabutonlari:hover {
    background-color: #026df7
}

.anabutonlar.active,
.pagination .pagination-button.active,
.sayfalamabutonlari.active {
    background-color: #0066b3;
    font-weight: bold
}

/* === Modal === */
.modal, .custom_modal_group {
    display: none;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 99%;
    /*max-height: 99vh;  */
    height: 99%;
    padding: 1px;
    overflow: auto
}

.modal-content {
    width: 95%; /* Modalın genişliğini arttır */
    max-width: 95%; /* Ekran genişliğine göre büyümesini sağlar */
    margin: 0 auto; /* Ortalamayı önler */
    padding: 20px; /* İçeriğe boşluk ekler */
}

.modal-title {
    text-align: center;
    font-weight: bold;
    font-size: 26px;
    padding: 10px;
    margin: 10px;
}

/* Üzerine gelince efekt */
.modal .close:hover {
/*    color: darkred; /* Daha koyu kırmızı */
    transform: scale(1.05) /* Biraz büyüt */
}

.modal.show {
    display: block;
    visibility: visible;
    opacity: 1
}

.ozel_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none
}

/* === Kaydırma Çubuğu === */
::-webkit-scrollbar {
    width: 15px;
    height: 15px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background-color: #00ff00;
    border-radius: 10px;
    border: 2px solid #ccc
}

::-webkit-scrollbar-thumb:hover {
    background-color: #009900
}

/* Login Ekran */
.form-container .logo {
  width: auto;
  margin-bottom: 12px;
}
.form-container .logo {
  text-align: center;
}
.form-container .language {
  width: auto;
  margin-top: 16px;
  text-align: center;
}

/* Class Ana başlık - offcanvas */
.ana_baslik_offcanvas {
  font-size: 2.0rem;
  text-align: center;
  margin-top: 0;
  margin-left: 35.5rem;
}

/*.offcanvas-body {
    overflow: hidden; */ /* Tüm sayfanın kaymasını engeller */
/* } */

.modal-body {
    /* max-height: 70vh; */ /* Modalın maksimum yüksekliği */
    /* overflow-y: auto; */ /* Yalnızca dikey kaydırma */
     overflow-x: auto;  /* Yalnızca dikey kaydırma */
}

/* Kapat Butonu */
.modal-footer {
  float: right
}
.modal-footer button {
  font-weight: bold;
  margin-top: 0.1rem;
  background-color: #e10a0a
}
.modal-footer button:hover {
  font-weight: bold;
  background-color: #bf0303
}

/* Class = Çıkış Butonu */
.cikis_buton {
  font-weight: bold;
  margin-top: 10px;
  margin-right: 20px;
  background-color: #e10a0a
}
.cikis_buton:hover {
  font-weight: bold;
  background-color: #bf0303
}

/* == Tablo içindeki butonlar ==*/
.tablici_action_container {
    position: relative;
    display: inline-block;
}

.tablici_popup_menu {
    display: none;
    /* position: absolute; */
    position: fixed !important; /* Ekran bazlı sabitleme */
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 10px;
    border-radius: 5px;
    width: 150px; /* Genişliği artırın */
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 10px;
}

.tablici_popup_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tablici_popup_menu li {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.tablici_popup_menu li:hover {
    background-color: #f0f0f0; /* #f5f5f5; */
}

/* Hover sırasında popup'ı göster */
.tablici_action_container:hover .tablici_popup_menu {
    display: block;
}

.tablici_popup_menu {
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    transform: scale(0.95);
}

.tablici_action_container:hover .tablici_popup_menu {
    opacity: 1;
    transform: scale(1);
}

tr.active-row {
    background-color: #cce5ff !important; /* Açık mavi */
}

/* YUKLEME NO LİSTESİ
------------------------------------------*/
#myModalYuklemeNoListesi {
    width: 60% ;
    border: 1px solid #ddd;
}

#modalTableYuklemeNoListesi_wrapper {
}

table.dataTable thead > tr > th.sorting #unvani{
    width: 100%;
}

.liste_cmb_secim_150 {
    padding-left: 5px;
}

.liste_cmb_secim_150 .date-range-container {
    display: inline-block;
    gap: 10px;
    margin-left: 0px;
    align-items: center
}
.unvan-column {
   /* width: 100%; /* Genişliği artırın */
    min-width:200px; /* Minimum genişlik belirleyebilirsiniz */
}

/* offcanvas */
.offcanvas-fullscreen {
    width: 100% !important;
    height: 100% !important;
    margin: 6px;
    max-width: none;
    max-height: none;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    overflow-y: auto;
}

#offcanvasYuklemeListesi, #offcanvasAktarimListesi {
    z-index: 1080 !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    overflow-y: auto !important;
    display: block !important;
    visibility: visible !important;
    width: 1100px !important;
    max-width: 95vw !important;
    left: auto;
    /*box-shadow: 0 4px 50px rgba(0, 0, 0, 0.4); */
}

@media (max-width: 1200px) {
    #offcanvasYuklemeListesi,#offcanvasAktarimListesi {
        width: 60% !important; /* Orta boy ekranlarda %60 */
        max-width: 60% !important;
    }
}

@media (max-width: 768px) {
    #offcanvasYuklemeListesi,#offcanvasAktarimListesi {
        width: 90% !important; /* Küçük ekranlarda %90 */
        max-width: 90% !important;
    }
}

/* Yeni Eklenen  */

/* 📋 Kasa no listesi paneli */
.custom-offcanvas-kasa-nolistesi {
  width: 610px !important;
  right: 0;
  left: auto;
}
/* 📱 Mobil görünüm – tüm paneller */
@media (max-width: 768px) {
  .custom-offcanvas-kasa,
  .custom-offcanvas-yukleme-nolistesi,
  .custom-offcanvas-kasa-nolistesi {
    width: 100% !important;
  }
}


.container-listesi {
  background-color: #fff;
  border-radius: 12px;
  margin: 0.6rem;
}

@media (min-width: 768px) {
  .container-listesi {
    max-width: 99%;

  }
}
  .sehirtanimi-column, .musteriadi-column, .musterisoyadi-column {
   /* width: 100%; /* Genişliği artırın */
    min-width:120px; /* Minimum genişlik belirleyebilirsiniz */
}

 .sehirkodu-column {
   /* width: 100%; /* Genişliği artırın */
    min-width:70px; /* Minimum genişlik belirleyebilirsiniz */
}

 .sehiraktif-column {
   /* width: 100%; /* Genişliği artırın */
    min-width:50px; /* Minimum genişlik belirleyebilirsiniz */
}

.custom-offcanvas-brk {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 400px;
  max-width: 90%;
  height: 300px;
  max-height: 90vh;

  background-color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  border-radius: 10px;
  z-index: 1055;

  display: none;
}

.custom-offcanvas-brk.show {
  display: block;
}

.offcanvas-header-brk {
  display: flex;
  justify-content: center; /* Başlığı ortala */
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.offcanvas-body-brk {
  padding: 1rem;
}

.ana_baslik_offcanvas_brk {
  font-size: 1.5rem;
  margin: 0;
  text-align: center;
  flex-grow: 1;
}

.cikis_buton_brk {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: red;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* Uyarı Kutusu Stili */
.custom-alert {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #f44336;
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    z-index: 1900;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 80%;
    text-align: center;
    font-size: 16px;
    animation: fadeIn 0.3s ease-in-out;
    z-index: 1900;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.custom-alert-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Yeni Eklenen  */
#tblKasa_wrapper .dataTables_scrollBody {
  overflow-x: auto !important;
}

.input-group .form-control {
 /* border-right: none;*/
}

/* Offcanvas gövdesi scroll için */
.offcanvas-body {
  overflow-y: auto;
  padding-top: 4px;
  /*max-height: 90vh;*/
  padding: 0;
}

/* 📋 Yükleme no listesi paneli */
.custom-offcanvas-yukleme-nolistesi {
  width: 1100px !important;
  max-width: 95vw !important;
  right: 0;
  left: auto;
}

/* Genel offcanvas ayarı – sadece mobil için genişlik */
.offcanvas.offcanvas-end {
  max-width: 900px;
  background-color: #ebf0f7;
  /*box-shadow: 0 4px 50px rgba(0, 0, 0, 0.4); */
  border-radius: 10px;
  margin-top: 0.4rem;
}

.input-group .btn {
  border-left: none;
}

.page-title-liste {
  text-align: center;
  color: var(--bs-primary-t);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0.8rem;
  margin-left: 0.8rem;
  margin-left: 0.8rem;
  margin-left: 40%;
}
.page-title-liste-kucuk {
  text-align: center;
  color: var(--bs-primary-t);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0.8rem;
  margin-left: 0.8rem;
  margin-left: 0.8rem;
  margin-left: 28%;
}

/* == login ekran == */

.password-input {
 /* max-width: 220px; */
}

.forgot-password {
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
  color: rgb(13, 110, 253);
}

form {
    width: 330px;
    text-align: left;
    /*padding: 20px;*/
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 0 auto
}
.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.bi {
  visibility: visible !important;
  opacity: 1 !important;
  color: #fff !important; /* veya istediğin renk */
  font-size: 1.1rem;
}
.bi-3 {
  visibility: visible !important;
  opacity: 1 !important;
  color: #fff !important;
  font-size: 1rem;
  margin-right: 6px;
}


.progress {
    height: 30px; /* Yüksekliği biraz rahat yapıyoruz */
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%; /* Bar tam container kadar olsun */
    display: flex;
    align-items: center; /* Dikey ortalama */
    justify-content: center; /* Yatay ortalama */
    position: relative;
    color: white !important;
    font-weight: bold;
    font-size: 0.8rem; /* Yazı boyutunu çok küçük yapmadan */
    transition: width 0.5s ease-in-out;
    border-radius: 10px;
}

.progress-bar span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8rem; /* Span içi yazı da uyumlu */
    line-height: 0.5; /* Satır yüksekliğini sıfırlıyoruz */
}

.fixed-popup-menu {
    /* position: fixed; */
    position: absolute;  /* ❗ fixed değil */
    display: none;
    background-color: white;
    z-index: 9999;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 220px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}

.fixed-popup-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fixed-popup-menu li {
    padding: 8px 8px;
    cursor: pointer;
}

.fixed-popup-menu li:hover {
    background-color: #ebf0f7;
    /*border: 1px solid #ccc;*/
    border-radius: 10px;
}

.sayisaldeger {
        text-align: right;
    }

table.dataTable tbody tr:focus {
  outline: none !important;
  box-shadow: none !important;
}

table.dataTable tbody tr::before {
  display: none !important;
  content: none !important;
}