.dark-mode-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #8ac249;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(138, 194, 73, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode-toggle #theme-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.dark-mode-toggle:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(138, 194, 73, 0.4);
}

.dark-mode-toggle:active {
  transform: scale(0.95);
}

.dark-mode-toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 70px;
  right: 50%;
  transform: translateX(50%);
  background: var(--card-bg, #f5f5f5);
  color: var(--text-color, #000);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(138, 194, 73, 0.2);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
}

.dark-mode-toggle:hover::after {
  opacity: 1;
  transform: translateX(50%) translateY(-5px);
}

.language-toggle {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--text-color, #000);
  color: var(--bg-color, #fff);
  border: none;
  border-radius: 24px;
  min-width: 60px;
  height: 48px;
  padding: 0 1rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", Arial, sans-serif;
}

.language-toggle:hover {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.icon-light,
.icon-dark,
.icon-auto {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
  display: block;
  margin: 0;
}

.icon-light {
  border: 2px solid white;
  background: transparent;
}

.icon-dark {
  background: white;
  border: 2px solid white;
}

.icon-auto {
  background: linear-gradient(90deg, transparent 50%, white 50%);
  border: 2px solid white;
}

@media (max-width: 768px) {
  .dark-mode-toggle,
  .language-toggle {
    bottom: 1rem;
  }

  .dark-mode-toggle {
    right: 1rem;
  }

  .language-toggle {
    left: 1rem;
  }
}
