/* Light theme (default) */
:root {
  --bg-color: #ffffff;
  --text-color: #212529;
  --nav-bg: #212529;
  --footer-bg: #212529;
}

/* Dark theme */
.dark-mode {
  --bg-color: #121212;
  --text-color: #f8f9fa;
  --nav-bg: #000000;
  --footer-bg: #000000;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar {
  background-color: var(--nav-bg) !important;
}

footer {
  background-color: var(--footer-bg) !important;
}

/* Toggle button styling */
#theme-toggle {
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  margin-left: 1rem;
  color: inherit;
}

/* iPhone-style theme switch */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  cursor: pointer;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.theme-switch .slider {
  position: absolute;
  inset: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: background-color 0.4s;
}
.theme-switch .slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.4s;
}
.theme-switch input:checked + .slider {
  background-color: #2196F3;
}
.theme-switch input:checked + .slider::before {
  transform: translateX(22px);
}/*# sourceMappingURL=welcome.css.map */