*, html, body, ul, ol *::after, *::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul, ol, li {
  list-style: none;
}

a {
  text-decoration: none;
}

.custom-input-indicator {
  display: flex;
}
.custom-input-indicator.off {
  display: none;
}

.custom-select-options-tags.dropdown {
  position: absolute;
  inset: auto auto 0px 0px;
  margin: 0px;
  transform: translate3d(46.6667px, -54.0741px, 0px);
}

.custom-gif-loading.on {
  display: flex;
}

.custom-alert-transition {
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  transition: 0.1s ease;
  -webkit-transition: 0.1s ease;
  -moz-transition: 0.1s ease;
  -ms-transition: 0.1s ease;
  -o-transition: 0.1s ease;
  opacity: 1;
}
.custom-alert-transition.transit {
  transform: translateY(30px);
  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -o-transform: translateY(30px);
  transition: 0.1s ease;
  -webkit-transition: 0.1s ease;
  -moz-transition: 0.1s ease;
  -ms-transition: 0.1s ease;
  -o-transition: 0.1s ease;
  opacity: 0;
}

.custom-otp-mini-page {
  padding: 5px 5px;
  background: grey;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  color: white;
  cursor: pointer;
  border-color: none;
  border-style: none;
}

.custom-refreshed-button {
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../img/svg/looping_gray.svg");
  background-size: contain;
  width: 25px;
  height: 25px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  cursor: pointer;
  display: flex;
}
.custom-refreshed-button:hover {
  background-image: url("../img/svg/looping.svg");
}
.custom-refreshed-button.off {
  display: none;
}

.custom-select-opt-wrapper {
  position: relative;
}

.custom-select-opts {
  position: absolute;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  width: 350px;
  background: #1e1e2f;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 1px solid #2d2d44;
}

.custom-select-opts .dropdown-item {
  padding: 10px 16px;
  font-size: 14px;
  color: #ffffff;
  transition: all 0.25s ease;
  border-radius: 6px;
  margin: 3px 8px;
}

/* Hover effect */
.custom-select-opts .dropdown-item:hover {
  background: #2c2c44;
  transform: translateX(4px);
}

/* Hover effect for ACTIVE item */
.custom-select-opts .dropdown-item.active:hover {
  background: #0b5ed7; /* slightly darker blue */
  transform: translateX(4px);
}

/* Scroll style if long list */
.custom-select-opts {
  max-height: 320px;
  overflow-y: auto;
}

/* Custom Scrollbar */
.custom-select-opts::-webkit-scrollbar {
  width: 6px;
}

.custom-select-opts::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

#mapToggleSwitch {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 50px;
  height: 26px;
  background: #dee2e6;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease;
  vertical-align: middle;
}
#mapToggleSwitch::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
#mapToggleSwitch:checked {
  background: #198754;
}
#mapToggleSwitch:checked::before {
  transform: translateX(24px);
}

#mapModeText {
  margin-left: 8px;
  vertical-align: middle;
}

.table-success {
  animation: fadeGreen 1.2s ease;
}

.table-warning {
  animation: fadeYellow 1.2s ease;
}

@keyframes fadeGreen {
  from {
    background-color: #d1e7dd;
  }
  to {
    background-color: transparent;
  }
}
@keyframes fadeYellow {
  from {
    background-color: #fff3cd;
  }
  to {
    background-color: transparent;
  }
}