* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    min-height: 100vh;
    background: url(images/html_table.jpg) center / cover;
    display: flex;
    justify-content: center;
    align-items: center;
}


main.table {
    width: 82vw;
    height: 100%;
    background-color: #fff5;
    margin: auto;
    backdrop-filter: blur(7px);
    box-shadow: 0 .4rem .8rem #0005;
    border-radius: .8rem;
    margin-left: 20%;


}
 
main.tables {
    width: 82vw;
    height: 100%;
    background-color: #fff5;
    margin: auto;
    backdrop-filter: blur(7px);
    box-shadow: 0 .4rem .8rem #0005;
    border-radius: .8rem;
}
.tables th, td {
    padding: 12px !important;
    text-align: left !important;
}


.table2{
    width: 82vw;
    height: 90vh;
    background-color: #fff5;
    margin: -300px;
    margin-top: -221px;
    backdrop-filter: blur(7px);
    box-shadow: 0 .4rem .8rem #0005;
    border-radius: .8rem;
    

    overflow: hidden;
}

sssssssssssssssssssssss

.table__header {
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tables .table__header h1{
     margin-top: 10%;
}

.table__header .input-group {
    width: 35%;
    height: 100%;
    background-color: #fff5;
    padding: 0 .8rem;
    border-radius: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: .2s;
}

.table__header .input-group:hover {
    width: 45%;
    background-color: #fff8;
    box-shadow: 0 .1rem .4rem #0002;
}

.table__header .input-group img {
    width: 1.2rem;
    height: 1.2rem;
}

.table__header .input-group input {
    width: 100%;
    padding: 0 .5rem 0 .3rem;
    background-color: transparent;
    border: none;
    outline: none;
}

.table__body {
    width: 95%;
    max-height: calc(89% - 1.6rem);
    background-color: #fffb;

    margin: .8rem auto;
    border-radius: .6rem;

   
}
/*
yeni kod abdulrahim ekledi
*/
#aciklama {
    width: 100%;
    height: auto;
    resize: none;
    overflow: hidden;

}

.table__body::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
}

.table__body::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background-color: #0004;
    visibility: hidden;
}

.table__body:hover::-webkit-scrollbar-thumb{ 
    visibility: visible;
}



table {
    width: 100%;
    max-height: 150px; /* İstediğiniz yüksekliği ayarlayın */
    overflow-y: scroll;
}

td img {
    width: 36px;
    height: 36px;
    margin-right: .5rem;
    border-radius: 50%;

    vertical-align: middle;
}

table, th, td {
    border-collapse: collapse;
    padding: 1rem;
    text-align: left;
}
tr {
    border-bottom: 1px solid #000; /* 1 piksel kalınlığında siyah bir çizgi ekler */
}

td {
    text-align: left; /* İstediğiniz hizalamayı seçin */
    border-right: 0.1px solid #cacaca; /* 1 piksel kalınlığında sağa doğru siyah dikey çizgi ekler */
    
    }



#baslik-td{
    font-size: 15px;
    color: #34425A;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* İnce bir font ekledim */
    font-weight: 450; /* İnce font kalınlığını belirledim */

}
#icerik-td {
   font-size: 15px;
    color: rgb(0, 0, 0);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* İnce bir font ekledim */
    font-weight: 450; /* İnce font kalınlığını belirledim */

}
.incele-button {
    margin-bottom: 30px;
    background-color: #34425A;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.incele-button:hover {
    background-color: #094c75;
}


/* thead th {
    position: sticky;
    top: 0;
    left: 0;
    background-color: #d5d1defe;
    cursor: pointer;
    text-transform: capitalize;
} */

tbody tr:nth-child(even) {
    background-color: #0000000b;
}
.fa-envelope,
.fa-envelope-open-text {
  font-size: 18px;
  margin-right: 5px;
}

/* Durum içeriği */
tbody h3 {
  margin: 0;
  font-size: 16px;
  color: #34425A;;

}

tbody tr {
    --delay: .1s;
    transition: .5s ease-in-out var(--delay), background-color 0s;
}

tbody tr.hide {
    opacity: 0;
    transform: translateX(100%);
}

tbody tr:hover {
    background-color: #fff6 !important;
}

tbody tr td,
tbody tr td p,
tbody tr td img {
    transition: .2s ease-in-out;
}

tbody tr.hide td,
tbody tr.hide td p {
    padding: 0;
    font: 0 / 0 sans-serif;
    transition: .2s ease-in-out .5s;
}

tbody tr.hide td img {
    width: 0;
    height: 0;
    transition: .2s ease-in-out .5s;
}

.status {
    padding: .4rem 0;
    border-radius: 2rem;
    text-align: center;
}

.status.delivered {
    background-color: #86e49d;
    color: #006b21;
}

.status.cancelled {
    background-color: #d893a3;
    color: #b30021;
}

.status.pending {
    background-color: #ebc474;
}

.status.shipped {
    background-color: #6fcaea;
}




/*  durum haberlesmesi */




.input-group input[type="search"] {
    background-color: #f4f4f4; /* Arka plan rengi */
    font-weight: bold;
    border: 2px solid #ccc; /* Kenarlık rengi */
    border-radius: 25px; /* Kenarlık yuvarlatma */
    padding: 8px 16px; /* Içerik dolgusu */
}

.nav-tabs {
    display: flex;
    justify-content: center;
    background-color: #fff;
    border-bottom: 2px solid #eee;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    margin-top: 5%;
}

.nav-tabs li {
    margin: 0;
}

.nav-tabs li a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.nav-tabs li a.active,
.nav-tabs li a:hover {
    background-color: #094c75;
    color: #fff;
    border-color: #094c75;
}






.tab-pane {
    width: 50%;
    padding: 20px;
    background-color: #f9f9f9; /* Arka plan rengi */
    border: 1px solid #ddd; /* Kenarlık rengi */
    border-radius: 5px;
}

.tab-pane fieldset {
    margin: 20px 0;
    border: 1px solid #ccc; /* Kenarlık rengi */
    border-radius: 5px;
}

legend {
    font-weight: bold;
    color: #fff; /* Başlık metin rengi */
    padding: 5px 10px;
    border-radius: 5px 5px 0 0;
}

select.form-control, textarea.form-control {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-primary {
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}


/* form icergi*/


h1 {
    color: #34425A;
    text-align: center;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}
th {
    position: sticky;
    top: 0;
    left: 0;
    background-color: #34425A;
}
th h2{
    font-size: 15px;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* İnce bir font ekledim */
    font-weight: 300; /* İnce font kalınlığını belirledim */
}

th, td {
    padding: 12px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

#durumEkleForm {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
}

label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

select, textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

#gecmisiEkleButton {
    background-color: #34425A;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
}

#gecmisiEkleButton:hover {
    background-color: #094c75;
}
        /* Çizgi Stili */
        #altCizgi {
        border-bottom: 2px solid #000000;
        margin-top: 20px;
    }

    .table-responsive h1{
        font-size: 150%;
        margin-top: 5%;
}

 @media (max-width: 1000px) {
 
    .tables th, td {
        font-size: 11px ;
     }
 
     .tables tr th h2{
        font-size: 11px !important;
    }
    .tables tr td h3{
        font-size: 11px !important;
    }
    .tables #icerik-td a{
        font-size: 11px !important;
     }

    .tables .fa-envelope ,.fa-envelope-open-text{
        font-size: 11px !important;
     }
      
     .tables .table__header h1{
        font-size: 30px;
        margin-top: 15%;
     }

     input[type="search"],
     input[type="date"], 
     .form-select{
       width: calc(100% - 40px); /* Kenar boşlukları dikkate alarak genişlik hesapla */
       margin-right: 0; /* Sağ kenar boşluğunu kaldır */
       margin-bottom: 10px; /* Inputların arasında boşluk bırak */
       margin: 5px;
     }
     
}


@media (max-width: 768px) {

    #resimEkleLink{
        font-size: 13px;
        margin-bottom: 2%;
    }
    main.table{
        width: 270vw;
        margin-left: 10% ;
    } 
    main.tables {
        width: 190vw;
    }
    .page-header{
        width: 190vw;
     }

    .tables th, td {
        padding: 12px !important;
        text-align: left !important;
    }
 
    .tables .table__header h1{
        font-size: 25px;
        margin-top: 15%;
     }
     #durumEkleForm label   {
        font-size: 15px;
     }
     #durumEkleForm #durumSecim {
        font-size: 15px;
     }

     #durumEkleForm #gecmisiEkleButton {
        font-size: 15px;
     }
     
}

@media (max-width: 500px) {

    main.table {
        width: 800vw !important;
    }
     td{
        font-size: 10px !important;
    }
     th h2 {
        font-size: 10px !important;
    }
    .nav-tabs{
        font-size: 11px;
    }
    th h2{
        font-size: 15px !important;
    }
    #baslik-td  {
        font-size: 11px;
    }
    #icerik-td{
        font-size: 11px;
     }
     #baslik-td span{
        font-size: 11px !important;
     }
      
     #durumEkleForm label   {
        font-size: 11px;
     }
     #durumEkleForm #durumSecim {
        font-size: 11px;
     }

     #durumEkleForm #gecmisiEkleButton {
        font-size: 11px;
     }
     #resimEkleLink{
        font-size: 11px;
     }
     .table-responsive h1{
        font-size: 100%;
 
}
}

@media (max-width: 400px) {
    main.tables {
        width: 230vw;
    }

    .page-header{
        width: 230vw;
     }
      td{
        font-size: 7px !important;
    }
      th h2 {
        font-size: 7px !important;
    }
    .nav-tabs{
          font-size: 11px !important;

    }
    .nav-tabs li a{
        padding: 6px;

    }
    #resimEkleLink{
        font-size: 11px;
        padding: 6PX;
     }
 
 
    
}
 

thead th span.icon-arrow {
    display: inline-block;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    border: 1.4px solid transparent;
    
    text-align: center;
    font-size: 1rem;
    
    margin-left: .5rem;
    transition: .2s ease-in-out;
}

thead th:hover span.icon-arrow{
    border: 1.4px solid #ff0000;
}

thead th:hover {
    color: #ff0000;
}

thead th.active span.icon-arrow{
    background-color: #ff0000;
    color: #fff;
}

thead th.asc span.icon-arrow{
    transform: rotate(180deg);
}

thead th.active,tbody td.active {
    color: #ff0000;
}

.export__file {
    position: relative;
}

.export_file .export_file-btn {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: #fff6 url(images/export.png) center / 80% no-repeat;
    border-radius: 50%;
    transition: .2s ease-in-out;
}

.export_file .export_file-btn:hover { 
    background-color: #fff;
    transform: scale(1.15);
    cursor: pointer;
}

.export__file input {
    display: none;
}

.export_file .export_file-options {
    position: absolute;
    right: 0;
    
    width: 12rem;
    border-radius: .5rem;
    overflow: hidden;
    text-align: center;

    opacity: 0;
    transform: scale(.8);
    transform-origin: top right;
    
    box-shadow: 0 .2rem .5rem #0004;
    
    transition: .2s;
}

.export_file input:checked + .export_file-options {
    opacity: 1;
    transform: scale(1);
    z-index: 100;
}

.export_file .export_file-options label{
    display: block;
    width: 100%;
    padding: .6rem 0;
    background-color: #f2f2f2;
    
    display: flex;
    justify-content: space-around;
    align-items: center;

    transition: .2s ease-in-out;
}

.export_file .export_file-options label:first-of-type{
    padding: 1rem 0;
    background-color: #86e49d !important;
}

.export_file .export_file-options label:hover{
    transform: scale(1.05);
    background-color: #fff;
    cursor: pointer;
}

.export_file .export_file-options img{
    width: 2rem;
    height: auto;
}