/* Base Styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

:root {
  --background-color: #121212;
  --text-color: #ffffff;
}

body.light-mode {
  --background-color: #f4f4f4;
  --text-color: #333333;
}

body.blue-mode {
  --background-color: #0073e6;
  --text-color: #ffffff;
}

body.green-mode {
  --background-color: #28a745;
  --text-color: #ffffff;
}

body.red-mode {
  --background-color: #dc3545;
  --text-color: #ffffff;
}

body.orange-mode {
  --background-color: #fd7e14;
  --text-color: #ffffff;
}

body.purple-mode {
  --background-color: #6f42c1;
  --text-color: #ffffff;
}

body.yellow-mode {
  --background-color: #ffc107;
  --text-color: #333333;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: #2c2c2c;
  color: #ffffff;
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  transform: translateX(-250px);
  transition: transform 0.3s ease;
}

.sidebar.visible {
  transform: translateX(0);
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
}

.sidebar nav ul li a {
  text-decoration: none;
  color: #ffffff;
  display: block;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.sidebar nav ul li a:hover {
  background-color: #444;
}

.theme-selector h4 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.theme-options button {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.theme-options button:hover {
  transform: scale(1.2);
}

/* Content */
.content {
  flex: 1;
  margin-left: 0;
  padding: 20px;
  overflow-y: auto;
}

.sidebar.visible + .content {
  margin-left: 250px;
}

.menu-toggle {
  background: var(--text-color);
  color: var(--background-color);
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background-color);
  color: var(--text-color);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-width: 90%;
  max-height: 90%;
}

.modal-content {
  padding: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  font-size: 20px;
  cursor: pointer;
}
