/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Theme Colors */
:root {
  --bg-light: #f9f9f9;
  --bg-dark: #111;
  --text-light: #000;
  --text-dark: #fff;
}

/* Theme Styling */
html[data-theme='light'] {
  background-color: var(--bg-light);
  color: var(--text-light);
}

html[data-theme='dark'] {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: Arial, sans-serif;
  position: relative;
}

/* Logo Styling */
.logo-container img {
  width: 220px;
  transition: filter 0.3s ease;
}

/* Toggle Wrapper */
.theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Toggle Switch */
.toggle-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  width: 60px;
  height: 30px;
  background: #555;
  border-radius: 30px;
  padding: 4px;
  transition: background 0.3s ease;
}

.toggle-label .slider {
  position: absolute;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #fff;
  left: 4px;
  top: 4px;
  transition: transform 0.3s ease;
  z-index: 2;
}

.toggle-label .icon {
  font-size: 16px;
  width: 50%;
  text-align: center;
  color: #fff;
  z-index: 1;
}

/* Hide checkbox */
#toggle-switch {
  display: none;
}

/* Move slider when checked */
#toggle-switch:checked + .toggle-label .slider {
  transform: translateX(30px);
}
