body {
  color: #000000;
  font-family: Arial, sans-serif;
}
.navbar-brand {
  height: 60px;
}
.navbar-brand img {
  height: 100%;
}
.bg {
  background-color: rgba(99, 173, 130, 1) !important;
}
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  display: inline-block;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Khi bật */
input:checked + .slider {
  background-color: #17b686;
}

input:checked + .slider::before {
  transform: translateX(24px);
}
.btn-setting {
  position: relative;
  margin-block: auto;
  width: 42px;
  height: 28px;
  font-weight: bold;
  color: white;
  background: #17b686;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease-in-out;
}
.edtText {
  position: relative;
  padding: 0px 10px 0px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 28px;
  width: 80px;
  color: #555555;
}
.unit_value {
  position: absolute;
  margin: 2px 0px 0px -5px;
  color: #555;
  transform: translateX(-100%);
}
/* Bao quanh toàn bộ màn hình */
.loader-container {
  position: fixed; /* Đảm bảo nó phủ toàn bộ màn hình */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Màu nền mờ */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Đảm bảo nó ở trên cùng */
}

/* Hiệu ứng Loader */
.loader {
  width: 90px;
  height: 14px;
  --c: #fff 92%, #0000;
  background: radial-gradient(circle closest-side, var(--c)) calc(100% / -4) 0, radial-gradient(circle closest-side, var(--c)) calc(100% / 4) 0;
  background-size: calc(100% / 2) 100%;
  animation: l14 1.5s infinite;
}

/* Animation cho Loader */
@keyframes l14 {
  0% {
    background-position: calc(100% / -4) 0, calc(100% / 4) 0;
  }
  50% {
    background-position: calc(100% / -4) -14px, calc(100% / 4) 14px;
  }
  100% {
    background-position: calc(100% / 4) -14px, calc(3 * 100% / 4) 14px;
  }
}
/* .dropdown-menu[data-bs-popper] {
	right: 0 !important;
} */
