
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}


.navbar {
  background-color: #1a252f;
  padding: 10px 0;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.navbar li {
  margin: 0 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.navbar a:hover {
  text-decoration: underline;
}

header {
  background-color: #0f1c40;
  color: white;
  text-align: center;
  padding: 20px;
  position: relative;   
}

main {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 15px;
}

section {
  background-color: white;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

section h2 {
  margin-top: 0;
}


.form-row {
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}


button,
input[type="submit"] {
  padding: 10px 16px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background-color: #1a252f;
}


.popup {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 250px;
}

.popup-content button {
  margin-top: 10px;
  padding: 8px 14px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 3px;
}

.popup-content button:hover {
  background-color: #1a252f;
}


footer {
  text-align: center;
  padding: 10px;
  background-color: #eee;
  font-size: 0.9rem;
}
.supporter-count {
  margin-left: auto; 
  color: white;
  font-weight: bold;
}

.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

.tracker-page {
  background-color: #f4f4f4;
}

.tracker-container {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 800px;
}

.tracker-container h2 {
  text-align: center;
  margin-top: 0;
  color: #1a252f;
}

/* Input row */
.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tracker-container input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Buttons */
.tracker-container button {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

/* Add button */
#addBtn {
  background-color: #2c3e50;
  color: white;
}

#addBtn:hover {
  background-color: #1a252f;
}

/* Next turn button */
#nextBtn {
  background-color: #0f1c40;
  color: white;
  width: 100%;
  margin-top: 10px;
  font-size: 1em;
}

#nextBtn:hover {
  background-color: #081229;
}

/* Turn list */
#turnList {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#turnList li {
  background-color: #f9f9f9;
  color: #1a252f;
  padding: 10px;
  margin-bottom: 6px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 5px solid transparent;
}

/* Active turn highlight */
#turnList li.active {
  border-left: 5px solid #2c3e50;
  background-color: #e6eef5;
  font-weight: bold;
}

/* Delete button */
.delete-btn {
  background-color: #c0392b;
  color: white;
  padding: 5px 10px;
  font-size: 0.8em;
  border-radius: 4px;
}

.delete-btn:hover {
  background-color: #922b21;
}