@import url("https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --theme-color-light: rgba(93, 156, 236, 1);
  --theme-color-dark: rgba(77, 137, 220, 1);
  --theme-off-white: rgb(221 221 221);
}

html,
body {
  font-family: "Saira", sans-serif;
  font-weight: 400;
  background-color: var(--theme-off-white);
  padding-right: 0 !important;
  margin: 5px 1%;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
}

.box-shadow {
  -webkit-box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.15);
}

.head-bar {
  padding: 20px 0;
  /* max-height: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-start; */
  border-bottom: inset 4px #59718d;
  background-color: #fbfbfb;
  margin: 16px;
  border-radius: 8px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 14px;
  background: var(--theme-color-light);
  width: 135px;
  padding: 14px 24px;
  border-radius: 6px;
  color: white;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
  cursor: pointer;
  text-align: center;
}

.menu i {
  margin-top: 2px;
  margin-right: 6px;
}

.logo {
  flex: 1;
}

.head-bar .logo img {
  height: 40px;
  margin-left: 20px;
}

.page-container {
  display: flex;
}

.left-bar {
  color: white;
  background: #e4e4e4;
  box-shadow: 0 0 5px 1px #d3d3d3;
  margin: 20px 12px;
  width: 140px;
  /* height: calc(100vh - 120px); */
  height: fit-content;
  border-radius: 8px;
  padding: 15px 5px 0px 0px;
  margin-left: -140px;
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.5s;
}

.main-bar {
  padding: 20px 4px;
  width: 100%;
  max-width: calc(100% - 6px);
  transition: all ease 0.5s;
}

.category-list {
  background: #e4e4e4;
  padding: 15px;
  border-radius: 8px;
  height: fit-content;
  box-shadow: 0 0 5px 1px #d3d3d3;
}

.menu-item {
  cursor: pointer;
  position: relative;
  background-color: var(--item-color);
  padding: 12px 0;
  margin: 0px 10px 36px 15px;
  text-align: center;
  color: white;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
  transition: all ease 0.1s;
  height: fit-content;
}

.menu-item:hover {
  transform: scale(1.08);
}

.menu:hover {
  transform: scale(1.02);
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 5px 0px rgb(0, 0, 0, 0.1);
}

.menu-item::after {
  content: attr(data-text);
  background-color: var(--item-color);
  padding: 4px;
  bottom: -20px;
  position: absolute;
  font-size: 12px;
  height: 24px;
  width: 100%;
  left: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  filter: saturate(0.7);
}

#exit {
  border-radius: 8px;
  padding: 20px;
  margin: 0;
  width: 80px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#exit::after {
  display: none;
}

.menu-item i {
  color: var(--theme-off-white);
  font-size: 26px;
  line-height: 30px;
  margin-bottom: 5px;
}

.account {
  display: grid;
  padding: 0;
  border-radius: 4px;
  color: #444c62;
  font-weight: 800;
  text-transform: uppercase;
  height: fit-content;
  margin-right: 32px;
  cursor: default;
  user-select: none;
  width: 24vw;
  max-width: 160px;
  text-align: center;
}

.get-info {
  background-color: #fbfbfb;
  padding: 8px 40px;
  border-radius: 8px;
  color: #919191;
  font-weight: 500;
  width: inherit;
  cursor: default;
  display: flex;
  align-items: center;
}

span.authority {
  background-color: #5d9cec;
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  padding: 8px;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
}

.account span.username {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin: 2px 0;
  padding: 2px;
}

.table {
  background-color: #fbfbfb;
}

.table thead {
  border-top: none !important;
}

.table-product {
  width: auto;
}

.table-product tbody td {
  min-width: 140px;
}

.table thead tr th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.table thead tr th:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.main-list-frame .main-list:nth-child(2) {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.main-list-frame .main-list:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding-bottom: 6px;
}

.button-shadow {
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 20px 2px rgb(0 0 0 / 30%);
}

@media only screen and (max-width: 576px) {
  .menu span {
    display: none;
  }
  .menu {
    width: 70px;
  }
  .menu i {
    margin: 0 auto;
    display: block;
    width: fit-content;
  }
  .head-bar .logo img {
    margin-left: 10px;
  }
  .w-sm-100 {
    width: 100% !important;
  }
  .w-sm-auto {
    width: auto !important;
  }
  .main-bar {
    padding-left: 4px !important;
  }
}

@media (min-width: 768px) {
  .w-md-100 {
    width: 100% !important;
  }
  .w-md-auto {
    width: auto !important;
  }
}

@media (min-width: 1200px) {
  .w-lg-100 {
    width: 100% !important;
  }
  .w-lg-auto {
    width: auto !important;
  }
}

.btn-add {
  background-color: rgb(67, 161, 103);
  border: rgb(67, 161, 103);
  padding: 6px 16px 6px 8px;
}

.btn-add svg {
  margin: 2px 8px 0 4px;
}

.btn-add:hover,
.btn-add:active,
.btn-add:focus {
  background-color: rgb(59, 136, 89);
  border: rgb(59, 136, 89);
  box-shadow: 0 0 0 0.25rem rgba(59, 136, 89, 0.5);
}

.btn-add i {
  margin-right: 4px;
  padding: 10px;
  background: #74b18b;
  border-radius: 4px;
}

.product-barcode-note {
  color: #998d70;
  font-size: 14px;
  margin: 8px 8px 0;
  background: #fef0cf;
  padding: 8px;
  border-radius: 4px;
  width: calc(100% - 20px);
}

.product-barcode-note i {
  margin: 0 12px;
  color: #776e5a;
}

.form-control-plaintext {
  color: #b2b8b5;
}

.row {
  align-content: space-around;
  padding: 0;
  margin: 0;
}

.tableNavigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e4e4e4;
  padding: 15px 3px;
  border-radius: 4px;
  margin: 10px 0;
}

.tableNavigation a {
  background: #59718d;
  padding: 8px;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  margin: 4px;
}

.menu-active {
  margin-left: 12px;
  opacity: 1;
  visibility: visible;
}

.main-bar-full {
  max-width: calc(100% - 150px);
}

.table-item-btn {
  background: #59718d;
  padding: 8px 12px;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  width: 20px;
  border-bottom: 2px solid #08080899;
}

.table-textarea {
  min-height: 100px;
  min-width: 200px;
  width: 98%;
  border-radius: 8px;
  font-weight: bold;
}

.modal-footer {
  justify-content: space-between;
}

#lastEditLabel {
  display: block;
  margin: 18px 12px 0;
  color: #b2b8b5;
  font-style: italic;
}

.btn-print {
  width: 100%;
  margin-top: 20px;
}

#productModal #productModalLabel span {
  color: #b8a4a4;
  font-size: 18px;
}

.modal-header {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

.main-list,
.main-list * {
  cursor: pointer;
  background-color: #f8f9fa;
  list-style-type: disclosure-closed;
  list-style-position: inside;
  padding: 8px 12px;
  margin: 0;
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}

.main-list label {
  z-index: 4;
}

.main-list ul {
  max-height: 225px;
  overflow: auto;
}

.main-list ul a {
  display: none;
  z-index: 1;
  transition: all ease 0.5s;
  text-decoration: none;
  color: #59718d;
  font-weight: 400;
}

.main-list ul a:hover {
  background-color: rgba(128, 128, 128, 0.1);
  border-radius: 4px;
}

@keyframes mymove {
  from {
    margin-top: -6px;
    opacity: 0;
  }
  to {
    margin-top: 0px;
    opacity: 1;
  }
}

#customerList,
#propertyList,
#conductorTypeList,
#sectionList,
#quantitySectionList,
#colorList {
  display: none;
}

#customerList:checked + li label + ul a,
#propertyList:checked + li label + ul a,
#conductorTypeList:checked + li label + ul a,
#sectionList:checked + li label + ul a,
#quantitySectionList:checked + li label + ul a,
#colorList:checked + li label + ul a {
  display: block;
  animation: mymove 0.5s;
  animation-fill-mode: backwards;
  list-style-type: disclosure-open;
}

#customerList:checked + li,
#propertyList:checked + li,
#conductorTypeList:checked + li,
#sectionList:checked + li,
#quantitySectionList:checked + li,
#colorList:checked + li {
  list-style-type: disclosure-open;
}

.getListPath {
  background-color: #f8f9fa;
  padding: 10px;
  width: 100%;
  color: white;
  border-radius: 4px;
  display: block;
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  font-weight: 600;
}

.main_stock {
  background-color: #936d90;
}

.ware_stock,
.reel_stock {
  background-color: #59718d;
}

.all-list {
  list-style-type: none;
  background: #adc5bb;
  font-weight: 400;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  color: #356e57;
}

.my-actions {
  margin: 0 2em;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.order-3 {
  order: 3;
}

.right-gap {
  margin-right: auto;
}

.table-confirm {
  background-color: #29895c4d !important;
  border-bottom: 5px solid #689581;
}

.table-decline {
  background-color: #e3333387 !important;
  border-bottom: 5px solid #c15c5c;
}

.table-in-process {
  background-color: #e5d16f9e !important;
  border-bottom: 5px solid #d7c989;
}

.swal-confirm {
  color: #fff;
  background-color: #2f9968 !important;
  border-color: #2f9968 !important;
}

.swal-confirm:hover {
  color: #fff;
  background-color: #29895c !important;
  border-color: #29895c !important;
}

/* ═══════════════════════════════════════════════════════════════
   SweetAlert2 her zaman en üstte görünsün
   Bazı sayfalarda (örn. İzl_emir.php) üst üste açılan Bootstrap
   modalları elle çok yüksek z-index değerleri kullanıyor (1070-1100).
   SweetAlert2'nin varsayılan z-index'i (1060) bunların altında kaldığı
   için uyarılar modalın ARKASINA düşüyor, kullanıcı hiç göremiyor —
   modal kapatılınca da SweetAlert'in kendi (hâlâ açık, hiç
   kapatılmamış) arka planı ortaya çıkıp siyah bir ekran olarak
   kalıyordu. Global olarak her modaldan yüksek tutuluyor.
   ═══════════════════════════════════════════════════════════════ */
.swal2-container {
  z-index: 20000 !important;
}

.product-process-space {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #ededed;
  border-radius: 4px;
  height: 100%;
  padding: 10px 0;
}

.product-list {
  position: relative;
  background-color: #ededed;
  min-height: 400px;
  width: 100%;
  border-radius: 8px;
  max-height: 400px;
  overflow: auto;
  padding: 8px;
}

.table-responsive {
  border-radius: 6px;
}

.text-bold {
  font-weight: bold;
}

.color-green {
  color: #29895c !important;
}

.color-red {
  color: #c15c5c !important;
}

.product-list-status {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  text-transform: lowercase;
  font-weight: 500;
  color: #b9bcbf;
  padding-left: 20px;
}

.modal-header-span {
  display: none;
  color: white;
  font-size: 1rem;
  margin-left: 5px;
  background: #697db7;
  padding: 5px;
  border-radius: 4px;
  box-shadow: 0 0 3px 2px #697db77d;
}

.production-unsaved {
  background: #9ab389;
  width: fit-content;
  border-radius: 4px;
  color: white;
  font-weight: 600;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.production-saved {
  background: #9ab389;
  width: fit-content;
  border-radius: 4px;
  color: white;
  font-weight: 600;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.production-show-space input {
  display: none;
}

.production-show-space label {
  padding: 10px 20px;
  cursor: pointer;
}
.production-show-space label:hover {
  background-color: #44624f;
}
.production-unsaved #production-unsaved:checked + label {
  background-color: #6d8d55;
}
.production-saved #production-saved:checked + label {
  background-color: #6d8d55;
}

.modal-info-space {
  margin-bottom: 10px;
}

.modal-info-space label {
  margin: 10px 5px 0 0;
  background-color: #ededed;
  padding: 5px 10px;
  border-radius: 4px;
}

.table-unsaved-label {
  color: #b73d3d;
  font-weight: 500;
  background-color: #f2aaaa !important;
  display: none;
}

.information-label {
  cursor: pointer;
  transition: color ease 0.5s;
}

.information-label::after {
  font-family: "Font Awesome 5 Free";
  content: "\f05a";
  font-weight: 900;
  margin-left: 5px;
}

.information-label:hover {
  color: #276ef4 !important;
}

.information-container {
  font-size: 0.9rem !important;
  text-align: start !important;
}

.content-header {
  background-color: #f1f1f1;
  padding: 20px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  color: white;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.content-header .content-item {
  text-decoration: none;
  color: #585858;
  background-color: #e9e6e6;
  padding: 10px;
  border-bottom: #b1b1b1 4px solid;
  display: block;
  font-weight: 500;
  transition: all ease 0.5s;
}

.content-header .content-item:hover {
  color: white;
  background-color: #922323;
  border-bottom: #922323 4px solid;
}

.content-header .content-item:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.content-header .content-item:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.content-header .selected {
  color: white;
  background-color: #bd2e2e;
  border-bottom: #922323 4px solid;
}

.content-area {
  padding: 20px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: #fbfbfb;
}

.filter-checkbox {
  background: #c9c8c8;
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

#production-finished-notes {
  width: 100%;
  min-height: 80px;
  background: #f9f9f9;
  border: 2px solid #d5d2d2;
  border-radius: 4px;
}