/* Base Theme Variables */
:root {
  --bg-color: #f0f0f0;
  --text-color: #222;
  --container-bg: white;
  --sidebar-bg: #ddd;
  --link-color: #007acc;
}

body.dark {
  --bg-color: #121212;
  --text-color: #f0f0f0;
  --container-bg: #1e1e1e;
  --sidebar-bg: #1a1a1a;
  --link-color: #66ccff;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
}

/* Sidebar Layout */
.sidebar {
  width: 250px;
  background: var(--sidebar-bg);
  padding: 20px;
  height: 100vh;
  position: fixed;
  box-sizing: border-box;
}

/* Main Content Layout */
.container {
  margin-left: 270px;
  padding: 30px;
  background: var(--container-bg);
  min-height: 100vh;
  box-sizing: border-box;
}

/* Profile Photo */
.profile-photo {
  width: 150px;
  border-radius: 50%;
  margin: 20px 0;
}

/* Joke Button */
#jokeButton {
  padding: 10px 20px;
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#jokeDisplay {
  margin-top: 10px;
  font-style: italic;
}

/* Toggle Switch Slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-left: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #007acc;
}

input:checked + .slider::before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.toggle-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.toggle-label {
  font-size: 16px;
}

.clicker-game {
  margin-top: 40px;
  padding: 20px;
  background-color: #4f8c67;
  border-radius: 12px;
  text-align: center;
}

