/* Ammonly Main CSS */
.cursor-pointer {
  cursor: pointer;
}

.theme-icon-container {
  position: relative;
  width: 28px;
  height: 28px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon-sun,
.theme-icon-moon {
  position: absolute;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

/* Light mode */
[data-bs-theme="light"] .theme-icon-moon {
  transform: rotate(180deg) scale(0);
  opacity: 0;
}

[data-bs-theme="light"] .theme-icon-sun {
  transform: rotate(0) scale(1);
  opacity: 1;
}

/* Dark mode */
[data-bs-theme="dark"] .theme-icon-sun {
  transform: rotate(-180deg) scale(0);
  opacity: 0;
}

[data-bs-theme="dark"] .theme-icon-moon {
  transform: rotate(0) scale(1);
  opacity: 1;
}
