/* Theme Toggle Button Styles */
.theme-toggle-container {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.theme-toggle {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  width: 36px;
  height: 36px;
  padding: 0.5rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  background-color: #e9e9e9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
}

/* Dark mode specific styles */
.dark-mode .theme-toggle {
  background-color: #3a3a3a;
  border-color: #444;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dark-mode .theme-toggle:hover {
  background-color: #444;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dark-mode .theme-toggle:focus {
  box-shadow: 0 0 0 3px rgba(112, 168, 255, 0.3);
}

/* Icon display rules */
.theme-toggle-icon.sun {
  display: none;
}

.theme-toggle-icon.moon {
  display: block;
}

.dark-mode .theme-toggle-icon.sun {
  display: block;
}

.dark-mode .theme-toggle-icon.moon {
  display: none;
}
