body {
  font-family: 'Arial', sans-serif;
  margin: 10px; /* Corrected margin value */
  padding: 0;
  background-color: #f8f8f8;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: #3498db;
  padding: 10px;
  width: 100%;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 24px;
  font-weight: bold;
}

.box {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  overflow: hidden;
  width: 100%;
}

form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.btn-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.btn-default {
  flex: 1;
  margin: 0 5px;
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.btn-default:hover {
  background-color: #2980b9;
}

.edit-button {
  background-color: #2ecc71;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.edit-button:hover {
  background-color: #27ae60;
}

.inner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #3498db;
  color: #fff;
}

.btn1 {
  background-color: #fff;
  color: #3498db;
  border: 1px solid #3498db;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

.btn1:hover {
  background-color: #3498db;
  color: #fff;
}

.name-list,
.out-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.name-list li,
.out-list li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.name-list li:last-child,
.out-list li:last-child {
  border-bottom: none;
}

.form-outer li {
  margin-bottom: 20px;
}

button {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
}

button:hover {
  background-color: #2980b9;
}

.team-member {
  display: inline-block;
  padding: 5px;
  margin: 3px;
  border-radius: 5px;
}

#teams {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
  gap: 20px;
}

#teams.one-team .column {
  flex: 0 1 50%;
  text-align: center;
}

#teams.two-teams .column {
  flex: 1;
  max-width: 45%;
  text-align: center;
}

#teams.two-teams #team3 {
  display: none;
}

#teams.one-team #team2,
#teams.one-team #team3 {
  display: none;
}

#teams.three-teams .column {
  flex: 1;
  max-width: 30%;
  text-align: center;
}

.column {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-right: 10px;
}

#teamChart {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 20px;
}

.publish-btn {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}