

@media (prefers-color-scheme: dark) {
  body {
    --switch-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.5) inset;
      --transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  }
  body.tmp-white-version {
    --switch-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1) inset;
      --transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  }
}
.theme-switch {
  display: flex;
  justify-content: center;
  align-items: center;
}

.theme-switch .checkbox {
  opacity: 0;
  position: absolute;
}

.theme-switch .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 50px;
  position: relative;
  height: 40px;
  width: 80px;
  cursor: pointer;
  box-shadow: var(--switch-shadow);
  transition: var(--transition);
}

.theme-switch .label:hover .moon,
.theme-switch .label:hover .sun {
  transform: rotate(360deg);
}

.theme-switch .ball {
  transition: var(--transition);
  background-color: var(--text-color);
  position: absolute;
  border-radius: 50%;
  top: 5px;
  left: 5px;
  height: 30px;
  width: 30px;
}

.theme-switch .moon {
  color: #f1c40f;
  transform-origin: center center;
  transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  transform: rotate(0);
}

.theme-switch .sun {
  color: #ff6b00;
  transform-origin: center center;
  transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  transform: rotate(0);
}

.theme-switch .ball {
  transform: translatex(0);
}

.dark .theme-switch .ball {
  transform: translatex(40px);
}

@media (prefers-color-scheme: dark) {
  .theme-switch .ball {
    transform: translatex(40px);
  }

  .tmp-white-version .theme-switch .ball {
    transform: translatex(0);
  }
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
}

.tmp-mainmenu-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.tmp-mainmenu-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.tmp-mainmenu-nav a {
    text-decoration: none;
    color: #000; /* Or your desired color */
}

.tmp-header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.tmp-menu-bars {
    background: none;
    border: none;
    font-size: 24px;
}

.theme-switch input[type="checkbox"] {
    display: none;
}

.theme-switch label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch .ball {
    transition: var(--transition);
    background-color: #333;
    position: absolute;
    border-radius: 50%;
    top: 5px;
    left: 5px;
    height: 30px;
    width: 30px;
}
.tmp-white-version .theme-switch .ball {
    transition: var(--transition);
    background-color: #FFF;
/* Container untuk menampung tmp-side-collups-area dan theme switch */

}
.actions-area {
  display: flex;
  justify-content: space-between; /* Membuat elemen sejajar */
  align-items: center; /* Memastikan elemen rata tengah secara vertikal */
}

/* Menambahkan margin jika diperlukan */
.tmp-side-collups-area {
  margin-right: 10px; /* Adjust sesuai kebutuhan */
}

.theme-switch {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tmp-header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto; /* Memaksa elemen ini ke sisi kanan */
    width: 100%;
    padding-left: 30px;
}

.theme-switch input[type=checkbox] ~ label::after,
.theme-switch input[type=radio] ~ label::after {
    display: none;
}
.theme-switch input[type=checkbox] ~ label::before,
.theme-switch input[type=radio] ~ label::before {
    display: none;
}