body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

#app {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 20px;
}

.hidden {
  display: none !important;
}

/* --- Auth --- */
.auth-container {
  background-color: #1c1c1c;
  padding: 25px 30px;
  border-radius: 8px;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.auth-container h2 {
  color: #f0f0f0;
  margin: 0 0 5px 0;
  text-align: center;
}

.auth-container input {
  font-size: 16px;
  padding: 12px;
  background-color: #2a2a2a;
  border: 1px solid #555;
  border-radius: 5px;
  color: #e0e0e0;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.auth-container input:focus {
  outline: none;
  border-color: #ff4500;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-container button {
  font-size: 16px;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
  flex: 1;
}

#signup-btn {
  background-color: #ff4500;
  color: white;
}

#signup-btn:hover {
  background-color: #e03e00;
}

#login-btn {
  background-color: #444;
  color: #f0f0f0;
}

#login-btn:hover {
  background-color: #555;
}

#logout-btn {
  background-color: #333;
  color: #ccc;
  width: 100%;
}

#logout-btn:hover {
  opacity: 0.8;
}

/* Map */
#map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  margin-top: 20px;
}

/** Timer **/
.timer-container {
  margin: 40px 0 40px 0;
}

#timer-mode {
  font-size: 24px;
  margin-bottom: 10px;
}

#timer-display {
  font-size: 100px;
  font-weight: bold;
  margin-bottom: 20px;
}

.timer-controls button {
  font-size: 18px;
  padding: 10px 20px;
  margin: 0 5px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: transparent;
  color: #e0e0e0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.timer-controls button:hover {
  background-color: #333;
}

/** Tasks **/
#session-task-handler input,
#session-task-handler select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background-color: #2a2a2a;
  border: 1px solid #555;
  border-radius: 5px;
  color: #e0e0e0;
  box-sizing: border-box;
  margin-bottom: 10px;
}

#session-task-handler input:focus,
#session-task-handler select:focus {
  outline: none;
  border-color: #ff4500;
}

#session-task-handler button {
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#select-existing-task-btn {
  background-color: #444;
  color: #f0f0f0;
}

#select-existing-task-btn:hover {
  background-color: #555;
}

#add-new-task-btn {
  background-color: #ff4500;
  color: white;
}

#add-new-task-btn:hover {
  background-color: #e03e00;
}
