/* Default light mode styles */
body {
  background-color: white;
  color: black;
  font-family: Arial, sans-serif;
}

.container {
  width: 80%;
  margin: 0 auto;
}

button {
  padding: 10px;
  margin: 5px;
}

textarea {
  width: 95%;
  height: 150px;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
}

#notesList {
  list-style-type: none;
  padding: 0;
}

#notesList li {
  background: #f0f0f0;
  margin: 5px 0;
  padding: 10px;
  border-radius: 5px;
}

#notesList .note-text {
  font-size: 16px;
}

#notesList .note-timestamp {
  font-size: 12px;
  color: gray;
}

#notesList .delete-btn {
  background-color: red;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
}

/* Dark mode styles */
body.dark-mode {
  background-color: #121212;
  color: white;
}

body.dark-mode .container {
  background-color: #2a2a2a;
}

body.dark-mode textarea {
  background-color: #333;
  color: white;
  border: 1px solid #444;
}

body.dark-mode #notesList li {
  background-color: #444;
  color: white;
}

body.dark-mode .delete-btn {
  background-color: #d32f2f;
}

/* Style for theme toggle button */
.theme-toggle-btn {
  margin-bottom: 20px; /* Adds space between toggle and notes */
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.theme-toggle-btn:hover {
  background-color: #45a049;
}
