.theme-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background-color: var(--container-color);
  border: 1.5px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: var(--z-tooltip);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--title-color);
}

.theme-toggle i {
  font-size: 1.5rem;
  color: var(--text-color);
  transition: transform 0.3s ease;
}

.theme-toggle:hover i {
  color: var(--title-color);
}



@media screen and (max-width: 768px) {
  .theme-toggle {
    bottom: 4.5rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }

  .theme-toggle i {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 576px) {
  .theme-toggle {
    right: 0.75rem;
  }
}

@media screen and (max-width: 350px) {
  .theme-toggle {
    bottom: 4.25rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
  }

  .theme-toggle i {
    font-size: 1.1rem;
  }
}
