/*
	siunusdev.com
  2025
*/

body {
  font-size: 0.9rem;
}

nav .nav-icon {
  font-size: 0.9rem !important;
}

.w100 {
  width: 100% !important;
}

.modal .select2-container {
  width: 100% !important;
}

.select2-results__option {
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap-mode: nowrap;
}

.img-responsive {
  max-width: 100%;
}

.table-responsive {
  scrollbar-width: thin;
}

.text-sm {
  font-size: 0.775rem !important;
}

.user-panel .info {
  width: 100%;
}

.table td,
.table th {
  padding: 0.5rem !important;
}

.modal .modal-content {
  border-radius: 0.8rem;
}

.modal .table tr {
  background: rgba(0, 0, 0, 0) !important;
}

.btn.btn-round {
  border-radius: 1rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.picture-label {
  border: 2px dashed #dc3545;
  border-radius: 5px;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  text-shadow: 0px 0px 8px #000;
  color: #000;
}

.fa-spin {
  animation: spin-animation 0.5s infinite;
  display: inline-block;
}

@keyframes spin-animation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(359deg);
  }
}

.print-only {
  display: none;
}

@media print {
  @page {
    size: A4;
  }
  body * {
    visibility: hidden;
  }
  #section-to-print,
  #section-to-print * {
    visibility: visible;
  }
  .page-break {
    display: block;
    page-break-before: always;
  }
  .no-print {
    display: none;
  }
  .print-only {
    display: block;
  }
  .badge {
    border: 0px !important;
  }
  .text-nowrap {
    white-space: nowrap !important;
  }
}

.content-header {
  padding: .5rem !important;
}

.sidebar {
  overflow-x: hidden;
}

.sidebar-collapse .sidebar-collapse-none {
  display: none;
}

[class*=sidebar-dark-] {
  background-color: #191919;
}

[class*=sidebar-dark] .user-panel {
  border-bottom: 1px solid #262626;
}

[class*=sidebar-dark] .brand-link {
  border-bottom: 1px solid #262626;
}

[class*=sidebar-dark] .btn-sidebar, [class*=sidebar-dark] .form-control-sidebar {
  background-color: #2C2C2C;
  border: 1px solid #2C2C2C;
  color: #fff;
}

[class*=sidebar-dark] .btn-sidebar:focus, [class*=sidebar-dark] .form-control-sidebar:focus {
  background-color: #2C2C2C;
  border: 1px solid #2C2C2C;
  color: #fff;
}

.text-price-big .text-currency {
  line-height: 0.8;
  font-size: 20pt;
  margin-right: 1rem;
}
.text-price-big .text-amount {
  line-height: 0.8;
  font-size: 30pt;
  font-weight: 600;
}
.text-counter-big {
  line-height: 0.8;
  font-size: 26pt;
  font-weight: 600;
}

@-webkit-keyframes warning-highlight {
  0% {
    background: rgba(255, 193, 7, 0.2);
  }
  100% {
    background: none;
  }
}
@keyframes warning-highlight {
  0% {
    background: rgba(255, 193, 7, 0.2);
  }
  100% {
    background: none;
  }
}

.warning-highlight {
  -webkit-animation: warning-highlight 1s ease-in 1;
  animation: warning-highlight 1s ease-in 1;
}

.warning-promo {
  background: rgba(40, 167, 69, 0.1);
}

.text-ellipsis {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-ellipsis-2 {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  white-space: initial;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@keyframes blinker {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.text-blink {
  animation: blinker 1s linear 5;
}

.disabled,
[disabled] {
  pointer-events: none;
  cursor: not-allowed;
}

.table-pricetag td * {
  overflow: hidden;
}

input[type="number"].no-spin::-webkit-outer-spin-button,
input[type="number"].no-spin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"].no-spin {
  appearance: textfield;
  -moz-appearance: textfield;
}

.bg-dusty-grass {
  background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

.bg-tempting-azure {
  background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}

.bg-grabient-blue {
  background-color: #0093e9;
  background-image: linear-gradient(160deg, #0093e9 0%, #80d0c7 100%);
}

/* icon */
.sicon {
  display: inline-block;
  line-height: 1;
}
.sicon.sicon-14 {
  width: 14px;
  height: 14px;
}
.sicon.sicon-muted {
  background-color: #6c757d;
}
.sicon.shopping-cart {
  mask: url(../img/svg/shopping-cart.svg) no-repeat center / contain;
  -webkit-mask: url(../img/svg/shopping-cart.svg) no-repeat center / contain;
}
.sicon.shopping-basket {
  mask: url(../img/svg/shopping-basket.svg) no-repeat center / contain;
  -webkit-mask: url(../img/svg/shopping-basket.svg) no-repeat center / contain;
}
.sicon.sack-dollar {
  mask: url(../img/svg/sack-dollar.svg) no-repeat center / contain;
  -webkit-mask: url(../img/svg/sack-dollar.svg) no-repeat center / contain;
}

#drag-region {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 12px;
  -webkit-app-region: drag;
  cursor: grab;
  z-index: 9999;
  user-select: none;
  pointer-events: auto;
  /* border: 1px solid red; */
}
