/* ========================
   Dark/Light Theme Colors
   ======================== */
:root[data-theme="light"] {
  --bg: #ffffff;
  --text: #000000;
  --link: #1a0dab;
}

:root[data-theme="dark"] {
  --bg: #121212;
  --text: #ffffff;
  --link: #8ab4f8;
}

/* ========================
   Dark Mode Toggle Styling
   ======================== */
.theme-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: inline-block;
  width: 50px;
  height: 24px;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  z-index: 1000;
}

.theme-toggle input {
  display: none;
}

.theme-toggle .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.theme-toggle input:checked + .slider {
  transform: translateX(26px);
  background: #333;
}

