::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #1833aa;
  cursor: pointer;
  border-radius: 50%;
}

/* TABLE STYLES */

tr:not(.no-background),
th:not(.no-background),
thead:not(.no-background) {
  border: none !important;
}

td:not(.no-background),
th:not(.no-background) {
  border-right: 1px solid rgb(209 213 219) !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-top: 0 !important;
}

th:not(.no-background) {
  white-space: nowrap;
  width: fit-content;
}

table:not(.no-background) {
  border-collapse: collapse !important;
  border-radius: 0.5rem !important;
  border: 1px solid rgb(209 213 219) !important;
  /* box-shadow: 0 0 0 1px rgb(209 213 219) !important; */
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  width: fit-content;
  position: relative;
}

table:not(.no-background)::-webkit-scrollbar-track {
  border-radius: 0.5rem;
  background-color: transparent;
}

table:not(.no-background)::-webkit-scrollbar {
  width: 4px;
  height: 8px;
  background-color: transparent;
}

table:not(.no-background)::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background-color: rgb(229 231 235);
  display: none;
  transition: opacity 0.5s ease-in-out;
}

table:not(.no-background):active {
  &::-webkit-scrollbar-thumb {
    background-color: rgb(191, 193, 198) !important;
  }
}

table:not(.no-background):hover {
  &::-webkit-scrollbar-thumb {
    display: block;
    background-color: rgb(213, 215, 220);
  }
}

table:not(.no-background) {
  scrollbar-width: thin; /* Options: auto, thin, none */
  scrollbar-color: rgb(229, 231, 235) transparent; /* thumb color | track color */
}

table:not(.no-background):hover {
  scrollbar-color: rgb(213, 215, 220) transparent; /* thumb color | track color */
}

.rodal-items::-webkit-scrollbar-track {
  border-radius: 0.5rem;
  background-color: rgb(243 244 246);
}

.rodal-items::-webkit-scrollbar {
  width: 4px;
  height: 8px;
  background-color: transparent;
}

.rodal-items::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background-color: rgb(229 231 235);
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.rodal-items:active {
  &::-webkit-scrollbar-thumb {
    background-color: rgb(191, 193, 198) !important;
  }
}

.rodal-items:hover {
  &::-webkit-scrollbar-thumb {
    display: block;
    background-color: rgb(213, 215, 220);
  }
}

th:not(.no-background):first-child {
  border-radius: 0.375rem 0 0 0 !important;
}

th:not(.no-background):last-child {
  border-radius: 0 0.375rem 0 0 !important;
}

td:not(.no-background):first-child {
  border-radius: none !important;
}

td:not(.no-background):last-child {
  border-radius: 0 0 0.375rem 0 !important;
  padding-right: 40px;
}

th:not(.no-background):last-child {
  padding-right: 40px;
}

tr:not(.no-background):nth-child(even) {
  background-color: rgb(243 244 246);
}
tr:not(.no-background):nth-child(odd) {
  background-color: white;
}

.overflow-gradient {
  height: calc(100% - 2px);
}

/* .table-limiter {
    width: 95%;
  } */

.table-container {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
}

#rodal-id-list {
  li {
    height: 40px;
  }
}

.glider-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0 !important;
  top: 8px !important;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
}

.glider-next {
  display: flex;
  align-items: center;
  justify-content: center;
  right: 24px !important;
  top: 8px !important;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  background-color: rgb(229 231 235) !important;
}

.glider-container {
  padding: 8px !important;
  border-radius: 8px;
  background-color: rgb(229 231 235) !important;
}

.glider-container:hover {
  background-color: rgb(206, 208, 213) !important;
}

.glider-prev.disabled {
  opacity: 0.25;
  color: #666;
  cursor: default;
  background-color: transparent !important;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease forwards;
}

.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeButtonIn {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeButtonOut {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
}

.fadeButton-in {
  animation: fadeButtonIn 0.3s ease forwards;
}

.fadeButton-out {
  animation: fadeButtonOut 0.3s ease forwards;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 1;
}

#finish-checkout-button:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeInFromBottom {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInFromBottom 0.5s ease-in forwards;
  opacity: 0;
}

.animate-fade-out {
  animation: fadeInFromTop 0.5s ease-in forwards;
  opacity: 0;
}


@keyframes vibrate {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}

.vibration-animation {
  animation: vibrate 500ms ease-in-out;
}

.loader {
  width: 80px;

  aspect-ratio: 1;
  --c: linear-gradient(#fff 0 0);
  --m: radial-gradient(farthest-side, #fff 90%, #fff);
  background: var(--c), var(--m), var(--c);
  background-size: 16px 8px, 10px 10px;
  background-repeat: no-repeat;
  animation: l20-1 1s infinite linear, l20-2 4s infinite linear -0.4s;
}
@keyframes l20-1 {
  0%,
  10% {
    background-position: calc(50% - 8px) 50%, 50% -15px, calc(50% + 8px) 50%;
  }
  33% {
    background-position: -20px 50%, 50% 50%, calc(100% + 20px) 50%;
  }
  66% {
    background-position: -20px 50%, 50% calc(100% + 15px), calc(100% + 20px) 50%;
  }
  80%,
  100% {
    background-position: calc(50% - 8px) 50%, 50% calc(100% + 15px),
      calc(50% + 8px) 50%;
  }
}
@keyframes l20-2 {
  0%,
  24.99% {
    transform: rotate(0);
  }
  25%,
  49.99% {
    transform: rotate(90deg);
  }
  50%,
  74.99% {
    transform: rotate(180deg);
  }
  75%,
  100% {
    transform: rotate(270deg);
  }
}

.form-section {
  transition: opacity 0.3s ease;
}

.form-section.hidden {
  display: none;
  opacity: 0;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}
.animate-shake {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
