/* Light Theme (Default) */
:root {
  --primary-gradient: linear-gradient(135deg, #0f766e, #0d9488);
  --secondary-gradient: #0d9488;
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-bg: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.9);
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 12px rgba(0, 0, 0, 0.15);
  --bg-nav: rgba(255, 255, 255, 0.98);
}


[data-theme="dark"] {
  --primary-gradient: linear-gradient(
    135deg,
    #ffffff 0%,
    #a855f7 50%,
    #06b6d4 100%
  );
  --secondary-gradient: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-bg: #0a0a0a;
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-primary: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.4);
  --bg-nav: rgba(10, 10, 10, 0.98);
}

/* Theme Selector Styles */
.theme-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}
@media (max-width: 768px) {
  .theme-selector {
    right: 70px;
    top: 16px;
  }
}

.theme-toggle {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  min-width: 70px;
}

.theme-toggle:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.theme-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-primary);
  backdrop-filter: blur(10px);
  min-width: 45px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.theme-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.theme-option:first-child {
  border-radius: 12px 12px 0 0;
}

.theme-option:last-child {
  border-radius: 0 0 12px 12px;
}

.theme-option:hover {
  background: var(--border-color);
}

.theme-option.active {
  background: var(--primary-gradient);
  color: white;
}

.theme-option.active:hover {
  background: var(--primary-gradient);
}

.theme-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

[data-theme="light"] .logo-light {
  display: block;
}

[data-theme="light"] .logo-dark {
  display: none;
}