
/*  NOT!!   
Burada Yapılan Açıklamalar şu şekildedir;
1-Sayfalar için yazılan css kodları BÜYÜK HARF İLE BAŞLIKLI YAZILIR
2-Sayfaların içindeki elemanlariçin yazılan css kodları KÜÇÜK HARF İLE BAŞLIKLI YAZILIR
 */
/* ECZANE SAYFASI İLE İLGİLİ CSS ALANI */
/* sticky butonlar */
#stickyButtons {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9); /* Hafif şeffaf beyaz */
    padding: 10px 15px;
    z-index: 1000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    margin-top: 15px; /* Üstten boşluk bırakır */
}
/* Genel Buton Stili */
#stickyButtons input[type="button"] {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
/* Ziyaret Listesi Butonu (Yeşil) */
#btnZiyaret {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

/* Eczane Stok Listesi Butonu (Lacivert) */
#btnEczaneSayim {
    background: linear-gradient(135deg, #1E3A8A, #0F172A);
}
#btnEczaneLocation {
    background: linear-gradient(135deg, #FF0000, #a15a5a);
}
/* Hover Efektleri */
#btnZiyaret:hover {
    background: linear-gradient(135deg, #45A049, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#btnEczaneSayim:hover {
    background: linear-gradient(135deg, #253D91, #16203B);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
#btnEczaneLocation:hover {
    background: linear-gradient(135deg, #FF0000, #FF0000);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Aktif (Tıklama) Efektleri */
#stickyButtons input[type="button"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}





/* Eczane Listesi ile ilgili alan */
.eczanelistesi  table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Sabit sütunlar ve kaydırma için sabit genişlik */
}
.eczanelistesi  th,
.eczanelistesi  td {
    border: 1px solid #ddd;
    z-index: -5;
}
/* Footer için sabitleme ayarları */
.eczanelistesi  tfoot th {
    position: sticky;
    left: 0;
    background-color: #f2f2f2;
    z-index: 4;
}
/* Sol ilk sütunu sabitle */
.eczanelistesi  td:first-child,
.eczanelistesi  th:first-child {
    position: sticky;
    left: 0; /* 1. sütun sabitlendikten sonra sabitlenecek */
    background-color: white;
    z-index: 10; /* İlk sütun başkalarının önünde kalacak şekilde z-index ayarı */
}
/* İkinci sütun için sabitleme ayarları */
.eczanelistesi  td:nth-child(2),
.eczanelistesi  th:nth-child(2) {
    position: sticky;
    left: 92px; /* 2. sütun için sabit alanı 1. sütun genişliği kadar kaydır */
    background-color: white;
    z-index: 9; /* İkinci sütunun da birinci sütunun önünde kalması için */
}
/* İkinci footer hücresi için sabitleme ayarları */
.eczanelistesi  tfoot th:nth-child(2) {
    position: sticky;
    left: 92px; /* İkinci sütunun konumuyla uyumlu */
    background-color: #f2f2f2;
    z-index: 9; /* İkinci footer'ın ilk sütun ile uyumlu kalmasını sağlamak */
}

/* PROJE YÖNETİM TAKVİMİ sayfası CSS kodları*/


#gantt {
  width: 100%;
  height: 250px !important;
  border: 1px solid #ccc;
  background: white;
}


.gmain.gmainright {
  width: 65% !important;
  float: left !important;
  box-sizing: border-box;
}

.panel input,
.panel select,
.panel textarea {
  margin: 2px 0 1px;
  width: 100%;
  padding: 2px;
  box-sizing: border-box;
  font-size: 12px;
}

.panel label {
  font-weight: bold;
  display: block;
  margin-top: 5px;
}


#addBtn,
#updateBtn , #uploadBtn {
    padding: 8px 16px;
    background-color: #007bff;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 3px;
}

#addBtn:hover,
#updateBtn:hover,
#uploadBtn:hover
{
    background-color: #0056b3;
}

.bar .bar-progress {
    color: red;
}

.bar-progress {
  fill: #4caf50 !important;
  /* yeşil */
  opacity: 1 !important;
}

.container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;

}
.panel-wrapper {
  min-width: 280px;
  max-width: 280px;
  flex: 1;
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 20px;
}

#GanttChartDIV {
  width: 100%;
  height: auto;
}
.gtaskblue {
  fill: rgb(255, 165, 0);
  /* Turuncu dolgu */
  stroke: hsl(30, 100%, 40%);
  /* Koyu turuncu kenarlık */
}
.gantt .handle {
    fill: #ddd;
    cursor: ew-resize;
    opacity: 0;
    visibility: hidden;
    width: 10px;
    height: 10px !important;
    transition: opacity 0.3s ease;
}

.gTaskText {
    left: 120px !important;
}


.gorevlistesi{
    font-size: 12px !important ;
}
/*takvim css*/

#calendar {
    margin: 20px 0;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#calendar a {
    color: #000;
}




#togglePanelBtn {
    border-radius: 10px;
    transition: transform 0.3s ease;
    background-color: #fff;
    margin-left: 5px;
  }
#togglePanelBtn:hover {
    transform: scale(1.1); /* %10 büyüme efekti */
  }
/* Medya Sorguları - Büyük Ekranlar İçin */
@media (min-width: 769px) {
    .container {
        flex-direction: row;
    }
    #calendar {
        width: 100%;
    }
    #addForm,
    #updateForm {
        margin-left: 20px;
        width: 25%; /* Form genişliği biraz daha küçük yapıldı */
    }
}
