* {
  font-weight: 500 !important;
}

table {
  border-spacing: 0;
  width: 100%;
  text-align: center;
  table-layout: fixed;
  border-collapse: collapse;
}
td {
  padding: 10px 20px;
  vertical-align: middle;
  background-color: #2c2f38;
}
th {
  padding: 10px 20px;
  vertical-align: middle;
  background-color: #273236;
}

label {
  float: left;
}

.tagsSpan {
  display: inline-flex;
  padding: 5px;
  margin-bottom: 5px;
  height: 60px;
  width: 100%;
}

select {
  width: 50%;
}

.addRows {
  padding: 5px 10px;
  border: 1px solid wheat;
  color: white;
}

.saveTables {
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 5px 10px;
  border: 1px solid wheat;
  color: white;
}

.icons {
  width: 3.5%;
  cursor: pointer;
  margin-left: 20px;
  display: inline-block;
}

.flags {
  width: 25%;
  margin: 10px;
  border: 2px solid gray;
  border-radius: auto;
  -webkit-border-radius: 500px;
  border-radius: 500px;
}

#skuTable {
  table-layout: auto;
}

.crossCell {
  width: 10%;
}

.cross {
  width: 20%;

  cursor: pointer;
}

.photoIcon {
  height: 100%;
}

.flagCell {
  width: 10%;
}

.tooltip {
  position: absolute;
  top: -30px; /* Подберите подходящее значение для расположения тултипа */
  right: -15px;
  /* transform: translateX(-50%); */
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  display: none;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

i {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

span {
  content: '\2195';
  cursor: pointer;
}

.photoLabel {
  width: 20%;
  cursor: pointer;
  height: 100%;
}

.fixedButtonsSku {
  color: white;
}

.sortBtn {
  cursor: pointer;
  width: 50px;
}

.sortAccBtn {
  cursor: pointer;
}

.sortShopBtn {
  cursor: pointer;
}

.show {
  display: block;
}

.hide {
  display: none;
}

/*Active-Non*/
.toggleSwitch {
  display: inline-block;
  height: 18px;
  position: relative;
  overflow: visible;
  padding: 0;
  margin-left: 30px;
  margin-right: 20px;
  cursor: pointer;
  width: 40px;
  user-select: none;
}

.toggleSwitch label,
.toggleSwitch > span {
  line-height: 20px;
  height: 20px;
  vertical-align: middle;
}
.toggleSwitch label {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
}

.toggleSwitch input:focus ~ a,
.toggleSwitch input:focus + label {
  outline: none;
}

.toggleSwitch input {
  position: absolute;
  opacity: 0;
  z-index: 5;
}
.toggleSwitch span span {
  display: none;
}

.toggleSwitch > span {
  position: absolute;
  left: -50px;
  width: 100%;
  margin: 0;
  padding-right: 50px;
  text-align: center;
  white-space: nowrap;
}
.toggleSwitch > span span {
  position: absolute;

  left: 0;
  z-index: 5;
  display: block;
  width: 50%;
  text-align: center;
  font-size: 0.9em;
  width: 100%;
  left: 15%;
  opacity: 0;
  color: white;
}

.toggleSwitch a {
  position: absolute;
  right: 50%;
  z-index: 4;
  display: block;
  height: 100%;
  padding: 0;
  left: 2px;
  width: 18px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  top: calc(130% + 4px);
}

.toggleSwitch > span span:first-of-type {
  color: white;
  opacity: 1;
  left: 45%;
}
.toggleSwitch > span:before {
  content: '';
  display: block;
  width: 170%;
  height: 100%;
  position: absolute;
  left: 35px;
  top: 130%;
  background-color: #fafafa;
  border: 1px solid #ccc;
  border-radius: 30px;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.toggleSwitch input:checked ~ a {
  border-color: #fff;
  left: 100%;
  margin-left: -8px;
}
.toggleSwitch input:checked ~ span:before {
  border-color: #0097d1;
  box-shadow: inset 0 0 0 30px #0097d1;
}
.toggleSwitch input:checked ~ span span:first-of-type {
  opacity: 0;
}
.toggleSwitch input:checked ~ span span:last-of-type {
  opacity: 1;
  color: white;
  left: 90%;
}

.toggleSwitch.large {
  width: 60px;
  height: 27px;
}
.toggleSwitch.large a {
  width: 27px;
}
.toggleSwitch.large > span {
  height: 29px;
  line-height: 28px;
}
.toggleSwitch.large input:checked ~ a {
  left: 41px;
}
.toggleSwitch.large > span span {
  font-size: 1.1em;
}
.toggleSwitch.large > span span:first-of-type {
  left: 50%;
}
.toggleSwitch.xlarge {
  width: 80px;
  height: 36px;
}
.toggleSwitch.xlarge a {
  width: 36px;
}
.toggleSwitch.xlarge > span {
  height: 38px;
  line-height: 37px;
}
.toggleSwitch.xlarge input:checked ~ a {
  left: 52px;
}
.toggleSwitch.xlarge > span span {
  font-size: 1.4em;
}
.toggleSwitch.xlarge > span span:first-of-type {
  left: 50%;
}

.deleteActive {
  cursor: pointer;
}
.deleteRow {
  cursor: pointer;
  background-image: url(../icons/x-close.svg);
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  margin: 0 8px 0 auto;
}

.menu {
  display: none;
}

.show {
  display: grid;
}

.nonActiveCart {
  display: none;
}

.discussion:after {
  content: '\22EE';
  /* box model */
  display: inline-block;
  width: 1em;
  height: 1em;
  /* decoration */
  color: #000000;
  border-radius: 50%;
  /* center align */
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

table {
  border-radius: 5px !important;
  border-collapse: collapse !important;
  border: none !important;
}
table th,
table td {
  border: none !important;
}
table th:first-child {
  border-radius: 5px 0 0 0 !important;
}
table th:last-child {
  border-radius: 0 5px 0 0 !important;
}
table tr:last-child td:first-child {
  border-radius: 0 0 0 5px !important;
}
table tr:last-child td:last-child {
  border-radius: 0 0 5px 0 !important;
}

.tagCount {
  background-color: rgb(39, 53, 80);
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-sku,
.title-series,
.title-description {
  background-color: transparent;
  text-align: center;
}

.addSKU {
  /* border: 1px solid black;
  border-radius: 5px; */
  padding: 5px;
  filter: invert(1);
  cursor: pointer;
}

/* Стили для модального окна */
.myModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px) brightness(0.3);
}

.myModal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #2c2f38;
  padding: 20px;
  border: 1px solid #352f2f;
  border-radius: 10px;
  width: 500px;
  display: flex;
  flex-direction: column;
}

.myModal__close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
}

.myModal__close:hover,
.myModal__close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.myModal__checkbox {
  color: #fff;
  margin-bottom: 50px;
}

.modalHeader {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#labelName {
  color: white;
  padding-left: 8px;
  font-size: 14px;
}

#applyToAll {
  margin-left: 15px;
}

.select2.select2-container.select2-container--default {
  width: 100% !important;
}

#tbodySales {
  padding-bottom: 30px;
}

.swal2-backdrop-show,
.modal.show {
  backdrop-filter: blur(5px) brightness(0.7);
}

/* .self-center {
  margin: 10px 0;
} */

.cart-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cart-border {
  padding: 10px 0;
}

.tags.flex.flex-1.flex-col.gap-4 {
  justify-content: center;
}

.cart-body {
  padding: 1rem 1rem 40px 1rem;
}

.cart-img {
  object-fit: cover;
}

.view-image {
  margin-bottom: 25px;
}

.tableWrapper {
  padding-bottom: 40px;
  background-color: #2c2f38;
}

.swal2-popup {
  background: #2c2f38;
  color: #fff;
}

.swal2-actions {
  .swal2-confirm {
    color: #fff;
    background-color: transparent;
    border: 1px solid #7066e0;
    box-shadow: none !important;
  }

  .swal2-deny {
    color: #fff;
    background-color: transparent;
    border: 1px solid #dc3741;
    box-shadow: none !important;
  }
}

.myModal__item {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.myModal__btn {
  margin-bottom: 15px;
  color: #fff;
  padding: 5px 10px;
  border: none;
  border-radius: 8px;
  width: 100%;
  background-color: #044582;
}

#deviceId {
  background: transparent;
  outline: unset;
  border-bottom: 2px solid #3d3d3d;
}

.select2-container--default .select2-selection--single {
  background-color: unset !important;
  border: unset !important;
  border-radius: unset !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: white !important;
}

.select2.select2-container.select2-container--default {
  height: 35px !important;
  border-bottom: 2px solid #3d3d3d !important;
}

.custom-input_input::placeholder {
  color: #999; /* Show the placeholder text if .custom-input has direct child <span> elements */
}

.custom-input:has(> span) .custom-input_input::placeholder {
  color: transparent; /* Hide the default placeholder text */
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered[title='Select username'] {
  color: #999 !important; /* Show the placeholder text if .custom-input has direct child <span> elements */
}
