/* Theme Toggle - Original Sallulabs Design */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.theme-toggle-btn {
  background: var(--paper-white);
  color: var(--ink-dark);
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink-dark);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.theme-toggle-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.theme-toggle-btn:hover {
  box-shadow: var(--shadow-lg);
}

.theme-toggle-btn:hover::before {
  opacity: 1;
}

.theme-icon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-icon-light {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-icon-dark {
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
}

[data-theme="dark"] .theme-icon-light {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

[data-theme="dark"] .theme-icon-dark {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .theme-toggle {
        bottom: 20px;
        right: 20px;
    }
    
    .theme-toggle-btn {
        width: 44px;
        height: 44px;
    }
}
