body {

    background-color: transparent;
}
div::-webkit-scrollbar{
  display: none;
}
.full {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 0px;
  border: 1px solid black;
}

.dashboard {
  width: 60%;
  height: 30%;
  background-color: rgb(254, 218, 218);
box-shadow: rgb(216, 215, 215);
display: flex;
justify-content: space-between;
}
.dashboard button {
  width: 100%;
}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 999999;
}
.overlay-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px #3334;
  padding: 30px 25px;
  min-width: 240px;
  min-height: 40px;
  text-align: center;
  font-size: 17px;
  margin: 0 10px;
  position: relative;
  max-width: 94vw;
  z-index: 99999;
}

/* Modal və mesaj düymələri */
.overlay-box .primary {
  width: 100%;
  background: #269;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  padding: 8px 0;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 99999;
}
.overlay-box .primary:hover {
  background: #137;
}

/* Form inputları */
.overlay-box input[type="number"],
.overlay-box input[type="text"] {
  width: 100%;
  margin-bottom: 10px;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
}
.oversat {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding:5px;
}
.legv {
  position: absolute;
  width: 30%;
  height: 30%;
  top: 40%;
  left:40%;
  z-index:999;
  background-color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:10px;
  font-size: 20px;
}
.legv button {
width:49%;
height: 100%;
border:none;
}
.satis {
    position: relative;
    display: flex;
    flex-direction: row;
   box-shadow: 0 4px 6px rgba(0,0,0,0.2);
border-radius: 6px;
background-color: #ffffff;

    width: 100%;
    height: 100%;
    gap:5px;
    padding:5px;
    box-sizing: border-box;
}
.satleft {
    position: relative;
    display: inline-block;
    width: 30%;
   box-shadow: 0 4px 6px rgba(0,0,0,0.2);
border-radius: 6px;
background-color: #ffffff;

    box-sizing: border-box;
    overflow: hidden;
    overflow-y: scroll;
}
.satleft::-webkit-scrollbar {
  display: none; /* Kaydırma çubuğunu gizle */
}

#resul {
    width: 100%;
    
}

.satright {
    width: 70%;
   box-shadow: 0 4px 6px rgba(0,0,0,0.2);
border-radius: 6px;
background-color: #ffffff;

    display: flex;
    flex-direction: row;
}
.sagleft {
    width: 90%;
    height: 100%;
   box-shadow: 0 4px 6px rgba(0,0,0,0.2);
border-radius: 6px;
background-color: #ffffff;

    display: flex;
    flex-direction: row;
box-sizing: border-box;
}
.slhead {
width:20%;
height: 100%;

display: flex;
flex-direction: column;
box-sizing: border-box;
}
.slhust{
  position: relative;
width: 100%;
height: 100%;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
border-radius: 6px;
background-color: #ffffff;

box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content:space-between;
gap: 4px;
overflow-y: scroll;
overflow-x: hidden;
padding: 3px;

}
.slhust::-webkit-scrollbar {
  display: none;
}
.slhust button {
  height: 100%;
  padding: 10px;
  border: none;
  background-color: #555;
  color: white;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}


/*giris */


.active {
  height: 15%;
}
.kateqoriya {
    position: relative;
    display: flex;
    width: 100%;
    flex-wrap: wrap; /* Kutuların satırdan taşması durumunda yeni bir satır oluşturur */
    gap: 2px; /* Kutular arasındaki boşluk */
    justify-content: center; /* Kutuları yatayda ortalar */
   height: 100%;
    align-content: flex-start;
    box-sizing: border-box;
    align-items: center;
   
}
.kateqoriya button {
    position: relative;
    font-size: 15px;
    font-weight: bold;
   width: 100%;

    padding: 10px;
    
    cursor: pointer;
    box-sizing: border-box;
}
.kat-item {
  width: 100%;
}
.kat-item:hover {
  opacity: 0.9;
  transform: scale(1.02);
  transition: 0.2s ease;
}
.slhalt{
width: 100%;
height: 85%;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
border-radius: 6px;
background-color: #ffffff;

overflow-y: scroll;
   display: none;

}
.slhalt::-webkit-scrollbar {
    display: none; /* Kaydırma çubuğunu gizle */
  }
.slfoot {
width:80%;
height: 100%;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
border-radius: 6px;
background-color: #ffffff;

display: flex;
flex-direction: column;
}

.mallar {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 3 sütun */
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #ccc #fafaff;
   justify-content: center;
    grid-gap: 5px; /* Hücreler arasındaki boşluk */
    padding: 5px;
    grid-template-rows: repeat(auto-fill, 100px);
    height: 100%;
}
.mal {
  position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 80px; /* Minimum yükseklik */
    max-height: 100px; /* Minimum yükseklik */
   justify-content: center;
   align-items: center;
   font-size:auto;
    position: relative;
    background-color: rgb(249, 172, 18);
    color:white;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    padding: 0px;
    box-sizing: border-box;
   text-align: center;
   cursor: pointer;
}

.products{
  background:var(--panel); border:1px solid var(--line); border-radius:14px; display:flex; flex-direction:column; overflow:hidden;
  font-size:12px;
}
.products-head{padding:10px 12px;border-bottom:1px solid var(--line); font-weight:600;}
.grid{
  padding:12px; display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:12px; overflow:auto;
}
.card{
  font-size:10px;
  background:var(--card); border:1px solid #1a2742; border-radius:14px; padding:10px; display:flex; flex-direction:column; gap:8px;
  cursor:pointer; transition:transform .08s ease;
}
.card:hover{transform:translateY(-2px)}
.card-img{height:90px;border-radius:10px; background:#ffffff; display:grid;place-items:center;color:#94a3b8;font-size:12px; overflow: hidden;
}
.card-img img{
  width: 100%;
  height: 100%;
}
.theme-light .card-img{background:#fff}
.card-name{font-size:10px; white-space:nowrap; overflow:hidden;text-overflow:ellipsis}
.card-foot{display:flex; align-items:center; justify-content:space-between;}
.price{font-weight:700;font-size:10px;}

.say {
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 4px 6px;

  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
}

.qiymet {
  position: absolute;
  bottom: 0px;
  right: 0px;
  padding: 4px 6px;
  background-color: rgba(255, 165, 0, 0.9);
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
}

.yazi {
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  padding: 4px 6px;
  line-height: 1.2;
}
.emeliyyat {
  width: 100%;
  height: 10%;
}

.sagright {
  width: 120px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
  background-color: #ffffff;
}
.sagright button {
  height: 100%;
  padding: 10px;
  border: none;
  background-color: #555;
  color: white;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.qb {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding:3px;
  box-sizing: border-box;
}




table {
    border-collapse: collapse;
    width: 100%;
   
    font-size: 15px;
    font-family: Arial, sans-serif;
    text-align: left;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
  }
  thead th {
    position: sticky; /* Sabitlemek için */
    top: 0; /* Başlangıç noktası */
 
     /* Diğer öğelerin üstünde görünmesini sağlar */
}
  
  th, td {
    border: 1px solid #ddd; /* Daha yumuşak bir sınır */
    padding: 12px; /* İçerik etrafında boşluk */
  }
  
  th {
  
    background-color:#555; /* Başlık hücresi için yeşil ton */
    color: white;
    font-weight: bold;
    text-transform: uppercase; /* Büyük harf */
  }
  
  td {
  cursor:pointer;
    /* Hücreler için beyaz zemin */
  }
  
  tr {
  
    background-color: #ffffff; /* Alternatif satır rengi */
  }
  
  tr:hover {
    background-color: #ffffff; /* Üzerine gelince hafif bir renk değişimi */
  }
  
  #right {
    text-align: right;
  }
  
  #red {
    color: white;
    background-color: #ff4d4d;
  }
  
  #green {
    color: white;
    background-color: royalblue;
  }
  
  caption {
    caption-side: top;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-transform: capitalize;
  }
  #tablecek {
    border-collapse: collapse;
    width: 100%;
    margin:0;
    font-size: 13px;
    font-family: Arial, sans-serif;
    text-align: left;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
  }
  
  #tablecek th,  #tablecek td {
  font-size: 10px;
    border: 1px solid #ddd; /* Daha yumuşak bir sınır */
    padding: 2px; /* İçerik etrafında boşluk */
  } 
  .highlight {
    background-color: rgb(252, 202, 63); /* Seçili satır rengi */
}

.secim
{
	width: 80px;
	font-size:18px;
	
 background-color:#AF4343;
 color:white;
}
.secima
{
	width: 80px;
	font-size:20px;
	
 background-color:#6F1818;
 color:white;
}
.selected
{
    border:2px solid darkred;
    color:darkred;
	margin: 0px;
 background-color:white;

}
.notselected
{

	margin: 0px;
 background-color:darkred;
 color:#ffffff;
}
.overmallar {
  position: fixed;
  width: 100%;
  height: 100%;
     top: 0;
    left: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
}

/* Modal kutusu */
.odenis-modal-box {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 22px 32px;
  min-width: 340px;
  box-shadow: 0 8px 36px #1e5e3a26;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  animation: modalPop 0.3s;
}

@keyframes modalPop {
  0% { transform: scale(0.94); opacity: 0.4;}
  100% { transform: scale(1); opacity: 1;}
}

.odenis-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #2e7d32;
  margin-bottom: 6px;
}

.odenis-total {
  font-size: 19px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.odenis-methods {
  display: flex;
  gap: 13px;
  justify-content: center;
}

.method-btn {
  border: 2px solid #e0e0e0;
  background: #f8faf9;
  border-radius: 11px;
  padding: 12px 22px;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s;
  box-shadow: 0 2px 7px #0001;
  user-select: none;
}
.method-btn input[type="radio"] { display: none; }
.method-btn span { display: flex; align-items: center; gap: 7px; }
.method-btn:has(input[type="radio"]:checked) {
  border: 2px solid #2e7d32;
  background: #e5f5ea;
  color: #185c25;
  font-weight: 600;
  box-shadow: 0 3px 15px #2e7d322c;
}

.odenis-input label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}
.odenis-input input, .odenis-input select {
  font-size: 18px;
  width: 100%;
  border: 1.5px solid #2e7d322c;
  border-radius: 7px;
  padding: 7px 12px;
  margin-top: 2px;
  outline: none;
  transition: border 0.15s;
}
.odenis-input input:focus {
  border: 1.5px solid #2e7d32;
}

.odenis-change {
  text-align: right;
  font-size: 16px;
  margin-top: -8px;
  color: #ba740f;
}
.odenis-change b {
  font-size: 19px;
  font-weight: 600;
}

.odenis-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 10px;
}
.odenis-pay {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 9px 27px;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.odenis-pay:hover { background: #226323; }
.odenis-close {
  background: #ececec;
  color: #444;
  border: none;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 16px;
  cursor: pointer;
}



.modal-content {
  background: white;
  padding: 20px;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
}

.modal-body {
  text-align: center;
}

.say-control {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.say-control button {
  width: 40px;
  height: 40px;
  font-size: 24px;
  border: none;
  background: #f44336;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.say-control input {
  width: 60px;
  text-align: center;
  font-size: 20px;
}

.save-btn {
  background: green;
  color: white;
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.login-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
.login-box {
  width: 320px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 32px #0003;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-title {
  margin-bottom: 22px;
  text-align: center;
}
.login-input {
  width: 100%;
  margin-bottom: 16px;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.login-btn {
  width: 100%;
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s;
}
.login-btn:hover {
  background: #176dc2;
}
.login-msg {
  margin-top: 16px;
  color: #d00;
  text-align: center;
  min-height: 24px;
}
.login-error {
  border: 2px solid #d00 !important;
  background: #fff3f3 !important;
}

@keyframes shake {
  0% { transform: translateX(0);}
  20% { transform: translateX(-10px);}
  40% { transform: translateX(10px);}
  60% { transform: translateX(-8px);}
  80% { transform: translateX(8px);}
  100% { transform: translateX(0);}
}
.shake {
  animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

select {
  font-size: 18px;
  width: 100%;
  border: 1.5px solid #2e7d322c;
  border-radius: 7px;
  padding: 7px 12px;
  margin-top: 2px;
  outline: none;
  transition: border 0.15s;
}

/* Modal overlay */
#sayEditOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* Modal qutusu */
#sayEditOverlay > div {
  background: white;
  padding: 24px 20px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
}

/* Məhsul adı */
#sayEditMalAdi {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
  color: #333;
}

/* Say input və +/- düymələri */
#sayEditOverlay input {
  width: 60px;
  height: 38px;
  font-size: 18px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease;
}

#sayEditOverlay button {
  height: 38px;
  padding: 0 12px;
  font-size: 18px;
  font-weight: bold;
  background-color: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

#sayEditOverlay button:hover {
  background-color: #e0e0e0;
}

#sayEditOverlay button:active {
  transform: scale(0.95);
}

/* Alt düymələr */
#sayEditOverlay .action-buttons {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Giriş animasiyası */
@keyframes fadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

