/* Right Side Buttons CSS */
.right-side-buttons {
  position: fixed;
  top: var(--spacing-md);
  right: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md); /* Increased spacing between buttons */
  z-index: 1000; /* Ensure buttons are above other elements */
}

/* Common Button Styles */
.right-side-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  border: none;
  cursor: pointer;
}

.right-side-button:hover {
  transform: scale(1.1);
}

/* Crisis Button */
.quick-help-button {
  background-color: var(--error);
}

.quick-help-button:hover {
  background-color: #D32F2F; /* Darker error color */
}

/* Theme Toggle Button */
.theme-toggle-button {
  background-color: var(--primary);
}

.theme-toggle-button:hover {
  background-color: var(--primary-dark);
}

/* Music Play Button */
.music-play-button {
  background-color: var(--secondary);
}

.music-play-button.active {
  background-color: var(--secondary-dark);
  box-shadow: 0 0 10px var(--secondary);
}

.music-play-button:hover {
  background-color: var(--secondary-dark);
}

/* Info Button */
.info-button {
  background-color: var(--info);
}

.info-button:hover {
  background-color: #0288D1; /* Darker info color */
}

/* Focus Theme Overrides */
body.focus-theme .quick-help-button {
  background-color: #C62828; /* Darker error color for dark theme */
}

body.focus-theme .theme-toggle-button {
  background-color: #00838F; /* Darker primary color for dark theme */
}

body.focus-theme .music-play-button {
  background-color: #558B2F; /* Darker secondary color for dark theme */
}

body.focus-theme .music-play-button.active {
  background-color: #33691E; /* Even darker secondary color for active state */
  box-shadow: 0 0 10px #558B2F;
}

body.focus-theme .info-button {
  background-color: #0277BD; /* Darker info color for dark theme */
}

/* Music Player */
.music-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-light);
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 10;
  display: flex;
  justify-content: center;
}

.music-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.music-button {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  transition: background-color var(--transition-fast);
}

.music-button:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.music-info {
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 120px;
  text-align: center;
}

/* Music Notification */
.music-notification {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-sm) var(--spacing-md);
  z-index: 100;
  cursor: pointer;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.notification-close {
  margin-left: var(--spacing-md);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .right-side-buttons {
    gap: var(--spacing-sm);
  }
  
  .right-side-button {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* Remove old theme toggle styles that conflict with right side buttons */
.theme-toggle {
  display: none !important;
}
