
/* Default Dark Mode Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #1e1e2e;
  color: #f8f8f8;
  text-align: center;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(135deg, #1e1e2e 0%, #2e2e3e 100%);
}

h2 {
  color: #c792ea;
  text-shadow: 0px 2px 4px rgba(255, 255, 255, 0.2);
}

#canvas {
  border: 2px solid #c792ea;
  background-color: #2e2e3e;
  cursor: crosshair;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.container {
  max-width: 800px;
  margin: 30px auto;
  background-color: #282a36;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
  background-image: linear-gradient(135deg, #282a36, #2e2e3e);
}

input, button, select {
  padding: 12px;
  margin: 10px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

input {
  background-color: #3b3f51;
  color: #f8f8f8;
  border: 1px solid #c792ea;
  box-shadow: inset 0px 0px 8px rgba(0, 0, 0, 0.2);
}

input:focus {
  outline: none;
  border: 1px solid #9a67ea;
  background-color: #4b5266;
}

button {
  background-color: #c792ea;
  color: #1e1e2e;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

button:hover {
  background-color: #9a67ea;
  transform: translateY(-2px);
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}

.button-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#coordinates {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(40, 42, 54, 0.9);
  padding: 10px;
  border-radius: 5px;
  font-family: monospace;
  font-size: 14px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  color: #c792ea;
}

select {
  background-color: #3b3f51;
  color: #f8f8f8;
  border: 1px solid #c792ea;
  transition: background-color 0.3s ease;
}

select:hover {
  background-color: #4b5266;
}

/* Light Mode Styles */
body.light-mode {
  background-color: #f0f0f0;
  color: #333;
  background-image: linear-gradient(135deg, #f0f0f0 0%, #d1d1d1 100%);
}

body.light-mode h2 {
  color: #6a4ff7;
}

body.light-mode #canvas {
  border: 2px solid #6a4ff7;
  background-color: #ffffff;
}

body.light-mode .container {
  background-color: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

body.light-mode input {
  background-color: #e0e0e0;
  color: #333;
  border: 1px solid #6a4ff7;
}

body.light-mode input:focus {
  border: 1px solid #6a4ff7;
  background-color: #d4d4d4;
}

body.light-mode button {
  background-color: #6a4ff7;
  color: #fff;
}

body.light-mode button:hover {
  background-color: #5741c7;
}

body.light-mode select {
  background-color: #e0e0e0;
  color: #333;
}

#toggleModeBtn {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #6a4ff7;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#toggleModeBtn:hover {
  background-color: #5741c7;
  transform: translateY(-2px);
}

#toggleModeBtn:active {
  background-color: #6f44c1;
}
