* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  font-family: "Delius Swash Caps", cursive;
}

:root {
  --background: #000430;
  --secondaryBackground: #171c48;
  --text: #fff;
  --purple: #828dff;
  --teal: #24feee;
}

body {
  background-color: var(--background);
  color: var(--text);
}

/* Pomodoro css */

.pomodoro-timer {
  /* background-color: var(--secondaryBackground); */
  color: var(--text);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--purple);
  max-width: 500px;
  margin: 40px auto 20px;
  text-align: center;
}

.timer-modes {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 20px;
}

.mode-btn {
  padding: 8px 16px;
  border: none;
  width: auto;
  border-radius: 8px;
  background-color: var(--purple);
  color: var(--text);
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mode-btn:hover {
  color: black;
  background-color: var(--teal);
}

.mode-btn.active {
  background-color: rgb(255, 255, 255);
  color: var(--background);
}

.timer-display {
  font-size: 48px;
  font-weight: bold;
  margin: 20px 0;
  color: var(--teal);
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.timer-controls button {
  padding: 10px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  background-color: var(--purple);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.timer-controls button:hover {
  background-color: var(--teal);
  color: var(--secondaryBackground);
}


/* Priority css */

#priorityInput {
  border-radius: 10px;
  background-color: var(--secondaryBackground);
  border: 1px solid var(--purple);
  color: var(--text);
}

#status-message {
  margin-top: 20px;
  text-align: center;
}

#status-message p {
  font-size: 18px;
  font-weight: bold;
  color: var(--teal);
  margin-bottom: 10px;
}

#status-message button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: var(--purple);
  color: var(--text);
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#status-message button:hover {
  background-color: var(--teal);
  color: var(--secondaryBackground);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0 auto;
  max-width: 500px;
}

.stats-container {
  padding: 30px;
  border-radius: 20px;
  border: 2px solid var(--purple);
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

.details {
  width: 100%;
}

#progressBar {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background-color: var(--secondaryBackground);
  margin-top: 20px;
}

#progress {
  width: 0%;
  height: 10px;
  background-color: var(--teal);
  border-radius: 5px;
  transition: all 0.3s ease;
}

#numbers {
  width: 100px;
  height: 100px;
  background-color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
}

form {
  margin-top: 40px;
  width: 100%;
  display: flex;
  gap: 10px;
}

input {
  flex: 1;
  padding: 10px;
  background-color: var(--secondaryBackground);
  border: 1px solid var(--purple);
  border-radius: 10px;
  color: var(--text);
  outline: none;
}

#newTask {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--purple);
  color: var(--text);
  font-size: 30px;
  font-weight: bold;
  outline: none;
  border: none;
  cursor: pointer;
}

#task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  width: 100%;
  list-style: none;
}

.taskItem {
  width: 100%;
  display: flex;
  background-color: var(--secondaryBackground);
  padding: 10px;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
}

.task {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task input {
  width: 20px;
  height: 20px;
}

.taskItem img {
  width: 24px;
  height: 24px;
  margin: 0 10px;
  cursor: pointer;
}

.completed p {
  text-decoration: line-through;
  color: var(--teal);
}


/* Extra functions css */

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.badge {
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-transform: capitalize;
  margin-right: 8px;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}

.badge.low {
  background-color: green;
}

.badge.medium {
  background-color: orange;
}

.badge.high {
  background-color: red;
}

.timer-settings {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.timer-settings label {
  color: var(--text);
  font-size: 14px;
}

.timer-settings input {
  width: 60px;
  margin-left: 10px;
  padding: 4px;
  border: 1px solid var(--purple);
  border-radius: 5px;
  background-color: var(--secondaryBackground);
  color: var(--text);
}

#applyTimers {
  padding: 8px 16px;
  margin-top: 10px;
  border: none;
  background-color: var(--purple);
  color: var(--text);
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

#applyTimers:hover {
  background-color: var(--teal);
  color: var(--background);
}