/* Theme toggle — single icon: sun (dark) or moon (light) */

.auth-theme-toggle.cosmic-theme-toggle--solo {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .auth-theme-toggle.cosmic-theme-toggle--solo {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.1) 0%, rgba(244, 197, 66, 0.08) 100%);
  border-color: rgba(79, 140, 255, 0.2);
}

.auth-theme-toggle .cosmic-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 1;
  transition: color 400ms ease, box-shadow 400ms ease, filter 400ms ease;
}

.auth-theme-toggle .cosmic-theme-icon i {
  width: 17px;
  height: 17px;
}

.auth-theme-toggle .cosmic-theme-icon--sun.is-active {
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 14px rgba(255, 204, 102, 0.45));
  box-shadow: none;
  background: transparent;
}

.auth-theme-toggle .cosmic-theme-icon--moon.is-active {
  color: #f8fafc;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
  box-shadow: none;
  background: transparent;
}

[data-theme="light"] .auth-theme-toggle .cosmic-theme-icon--moon.is-active {
  color: #334155;
  filter: none;
}

[data-theme="light"] .auth-theme-toggle.cosmic-theme-toggle--solo:hover {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.16) 0%, rgba(244, 197, 66, 0.12) 100%);
}

.auth-theme-toggle.cosmic-theme-toggle--solo:hover {
  border-color: rgba(255, 255, 255, 0.22);
}
