/* Genel Sayfa Ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f0f0f5;
    color: #333;
    font-size: 16px;
    line-height: 1.5;

}
select {
    width: 100%;
    font-size: 18px;
}
.full {
    display: none;
    width: 100%;
    height: 100%;
}
.logon {
    display: none;
    position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999;
background: white;

}

.thumbxerc {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}
.thumbxerc:hover {
    transform: scale(1.1);
}

.overlayxercresim {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.overlayOdenis {
  display:none;
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.6);
  z-index:9999;
}
.overlayOdenis-frame {
  background:#fff;
  width:420px;
  margin:5% auto;
  border-radius:8px;
  padding:20px;
  position:relative;
  text-align:center;
}
.overlayOdenis-frame input {
  width:90%;
  margin:6px 0;
  padding:8px;
}

.overlayQusurlar {
  display:none;
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.6);
  z-index:9999;
}
.overlayQusurlar-frame {
  background:#fff;
  width:420px;
  margin:5% auto;
  border-radius:8px;
  padding:20px;
  position:relative;
  text-align:center;
}
.overlayQusurlar-frame input {
  width:90%;
  margin:6px 0;
  padding:8px;
}

.overlay-frame {
    position: relative;
    width: 80%;
    max-width: 800px;
    height: 80%;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}
.overlay-img {
    position: relative;
    width: 400px;
    height: 800px;
    background-color: white;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.overlay-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* oran koruyarak sığdırır */
  object-position: center center; /* ortalar */
  display: block;
}

.overlay-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.overlay-btn {
    width: 10%;
    position: absolute;
    top: 50%;
 
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
   
    user-select: none;
}
.overlay-btn:hover { background: rgba(255,255,255,0.4); }

#prevBtn { left: 10px; }
#nextBtn { right: 10px; }

#rotateLeft, #rotateRight {
    position: absolute;
    bottom: 20px;
    background: rgba(255,255,255,0.25);
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}
#rotateLeft { left: 45%; }
#rotateRight { right: 45%; }

.container {
    width: 80%;
    margin: 0 auto;
}

/* Ana Panel Alanı */
.panel {
    background: white;
    color: rgb(0, 0, 0);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.panel h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #222;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding-top: 20px;
    padding-left: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: scroll;
    scrollbar-width: thin;
}

.sidebar a {
    cursor: pointer;

    position: relative;
    color: #ddd;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: #1c88d6;
    color: white;
}

.sidebar a.active {
    background-color: #4e73df;
}
.sidebar a .badge {
    position: absolute;
    top: 8px;
    right: 15px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 3px 8px;
    font-size: 15px;
    line-height: 1;
    min-width: 10%;
    text-align: center;
    height: 60%;
}
li.active {
    background-color: #ca0000d7; /* açık gri ton */
    font-weight: bold;
    border-radius: 4px;
    border-radius: 4px;

  }
  li:hover {
    background-color: #e24a4a;
    color: white;
}
/* İçerik Alanı */
.main-content {
    margin-left: 270px;
    padding: 20px;
    min-height: 100vh;
}

/* Panel Başlıkları */
.main-content h2 {
    font-size: 1.8rem;
    color: #4e73df;
    margin-bottom: 15px;
}

/* Tablolar */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #4e73df;
    color: rgb(255, 255, 255);
}

table td {
    background-color: #fff;
    color: rgb(0, 0, 0);
}

/* Butonlar */
button {
    background-color: #4e73df;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1c88d6;
}

button:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

/* Resim Alanı */
.header-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Card (Küçük Kartlar) */
.card {
    background-color: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #4e73df;
    margin-bottom: 10px;
}

.card p {
    color: #666;
}


.overxerc{
    position: fixed;
    top:0;
    left:0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: none;
    
    justify-content: center;
    align-items: center;
}
.xerc {
    background-color: white;
    width: 50%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 12px;
    font-weight: bold;
    box-sizing: border-box;
    padding: 0;
    gap:5px;
   
}

.xerc form{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding:10px;
    gap:5px;
    font-size: 20px;
    box-sizing: border-box;
    
    
    }
    .xerc input, .xerc button, .xerc select {
        width: 100%;
         font-size: 25px;
      
     }
     .xercmenu {
        display: none;
    flex-direction: column;
        justify-content: left;
        align-items: left;
        padding-left:15px;
        width: 100%;
    cursor: pointer;

     }
     .addbutton{
        position: relative;
        width: 100%;
        font-size: 25px;
    }
    .hfoot{
        display:none;
    }
    .hfoot input {
        width: 100%;
        font-size: 20px;
    }

    .round-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
   .round-btn.blue {
    background-color: #2980b9;
  }

  #filterss {
     display: flex;
        flex-direction: row;
}
  #filterss input {
    width: 100%;
  }
#xercfilter ,#filters {
    display: none;
}

    .htabs {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 10%;
        border: 1px solid black;
        justify-content: space-between;
        align-items: center;
      
    }
    
    .htabs input[type="date"] {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: #f9f9f9;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 10px;
        font-size: 16px;
        font-family: Arial, sans-serif;
        color: #555;
        width: 100%;
        
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    .htabs input[type="date"]:focus {
        border-color: #007BFF;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        outline: none;
    }
    .htabs select {
        height: 100%;
        width: 100%;
    }

    
.overmedaxilid {
    box-sizing: border-box;
    width: 99%;
height: 100%;
top: 0;
position: fixed;
background-color:rgba(0, 0, 0, 0.5);
display: none;
justify-content: center;
align-items: center;
}

.medaxilid {
    position: relative;
    padding:10px;
    width: 40%;
    height: 90%;
    font-size: 20px;
    background-color:rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    gap:5px;
    z-index:101;
	box-sizing:border-box;

}
    
.overqebz {
    box-sizing: border-box;
    width: 99%;
height: 100%;
top: 0;
position: fixed;
background-color:rgba(0, 0, 0, 0.5);
display: none;
justify-content: center;
align-items: center;
}

.qebz {
    position: relative;
    padding:10px;
    width: 90%;
    height: 90%;
    background-color:rgb(166, 199, 207);
    display: flex;
    flex-direction: column;
    gap:5px;
    z-index:101;
	box-sizing:border-box;

}

.qebzs {
    width: 100%;
    height: 90%;
    border: 1px solid black;
    overflow-y: scroll;
}

.qreport {
    position: relative;
    width: 100%;
    height: 25%;
  gap:5px;
    display: none;
	
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
padding:1%;
}

.alinan, .verilen, .toplamgelir, .toplamxerc, .toplamqazanc {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 20%;
    color:white;
	text-align:center;
    height: 100%;
    border: 1px solid red;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;

}
.qrfoot {
    height: 80%;
    width: 100%;
    background-color:white;
    color:red;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.qtabs {
    width: 100%;
    height: 10%;
    border: 1px solid black;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.qtabs input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: #555;
    width: 100%;
    max-width: 45%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.qtabs input[type="date"]:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

.qebzb {
    background-color: white;
    display: none;
    flex-direction: column;
    width: 90%;
    height: 90%;
    box-sizing: border-box;
    gap:5px;


}
.qbhead {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 40%;
    gap:5px;
}
.qbhinfo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    height: 100%;
    padding:10px;
    font-size:20px;
    font-weight:bold;
}
.qbhcek {
    width: 40%;
    height: 100%;
	overflow-y:scroll;
}
.qbhbutton {
    width: 10%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap:5px;
}
.qbhbutton img {
    height: 50;
}
.qbfoot {

    flex-direction: row;
    justify-content:start;
    width: 100%;
    height: 55%;
    overflow-y: scroll;
  
}

.qbfoot::-webkit-scrollbar, .qbhcek::-webkit-scrollbar {
    display: none;
}
.cerge {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    position: relative;
}
.closeadd {
        position: relative;
       
        height: 40px;
        width: 100%;
        padding:5px;
        margin:0px;
        display: flex;
        justify-content: right;
        text-align: right;
        box-sizing: border-box;
        
        color: white;
        
        
       
      
    }

     .closeadd {
        position: relative;
       
        height: 40px;
        width: 100%;
        padding:5px;
        margin:0px;
        display: flex;
        justify-content: right;
        text-align: right;
        box-sizing: border-box;
        
        color: white;
        
        
       
      
    }
    .closeadd img{
       border-radius: 5px;
        background-color: white;
        height: 100%;
      
        padding: 2px;
    }
    #pri {
    font-size: 12px;
}

.overced{
    position: fixed;
    top:0;
    left:0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: none;
    justify-content: center;
    align-items: center;
}
.cedv {
    background-color: white;
    width: 60%;
    height: 20%;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 25px;
    font-weight: bold;
    box-sizing: border-box;
    padding: 0;
   
   
}
.cedvdiv{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border:1px solid rgba(0, 123, 255, 0.2);
cursor:pointer;
}
.cedvdiv img{
    height: 80;
}
.overuserbax{
    position: fixed;
    top:0;
    left:0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: none;
    
    justify-content: center;
    align-items: center;
}

    .user {
    position: relative;
    background-color: white;
    width: 95%;
    height: 98%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size:12px;
  
    font-weight: bold;
    box-sizing: border-box;
    
  
   
}
.infoes {
    width: 100%;
    height: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 5px;
    gap:5px;
    box-sizing: border-box;
}
.uihead {
    position: relative;
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 5px;
    gap:5px;
    box-sizing: border-box;
}
.uinfo {
    position: relative;
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 5px;
    font-size:12px;
    box-sizing: border-box;
}
.umut {
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
    gap:1px;
    overflow-y: scroll;
    box-sizing: border-box;
}
.umut::-webkit-scrollbar{
    display: none;
}
.uimut{
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    text-align: center;
    font-size:12px;

    font-weight: bold;
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    
}
.uimut:hover {
    background-color: #0056b3;
    color: white;
}

.uimut:active {
    background-color: #004085;
    color: white;
}
.uicek{
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    text-align: center;
    font-size:12px;

    font-weight: bold;
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    
}
.uicek:hover {
    background-color: #0056b3;
    color: white;
}

.uicek:active {
    background-color: #004085;
    color: white;
}
.uqebz {
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 5px;
    overflow-y: scroll;
    box-sizing: border-box;
}
.uqebz::-webkit-scrollbar {
    display: none;
}
.ucek {
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 5px;
    overflow-y: scroll;
    box-sizing: border-box;
}
.ufilter {
    width: 100%;
    height: 5%;
}
.ucedvel {
    width: 100%;
    height: 55%;
    font-size:12px;
  
    box-sizing: border-box;
    overflow-y: scroll;

} 
.qtabs button {
    height: 100%;
}
.uhead {
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
 
}
.uhead button, .uhead input {
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;

}
.uhead div {
    width: 50%;
    padding:5px;
}
.umain {
    width: 100%;
    height: 90%;
	overflow-y:scroll ;
}

.loadings {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    display: flex;
    gap: 8px;
}

.loader span {
    width: 12px;
    height: 12px;
    background: #061ca8;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    to {
        transform: translateY(-12px);
        opacity: 0.6;
    }
}

/* Responsive Tasarım */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 200px;
    }

    .main-content {
        margin-left: 220px;
    }
}

@media screen and (max-width: 480px) {
    .sidebar {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0;
    }
}
