* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  font-family: sans-serif;
  background: #ffffff;
  color: #333333;
}


header {
  text-align: center;
  margin-bottom: 25px;
}

.tab {
  background: white;
  border: 1px solid #b8f0ff;
  padding: 8px 16px;
  border-radius: 20px;
}


.tab.active {
  background: #b8f0ff;
  color: #333;
  font-weight: bold;
}


.tab.active {
  background-color: #b8f0ff;
  color: #333;
  font-weight: bold;
}


h1 {
  color: #00a8a8;
  font-size: 28px;
}


.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
}


.tab {
  padding: 10px 25px;
  border: none;
  border-radius: 20px;
  background: #dddddd;
  color: #333333;
  cursor: pointer;
}


.tab.active {
  background: #00c7c7;
  color: white;
}



.notice {
  text-align: center;
  background: #f2ffff;
  border-left: 5px solid #00c7c7;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 12px;
}


#waitingCount {
  text-align: center;
  color: #00a8a8;
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 20px;
}


.add-area {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}


#threadInput {
  flex: 1;
  padding: 12px;
  border: 2px solid #00c7c7;
  border-radius: 10px;
  font-size: 16px;
}



button {
  font-size: 16px;
}



#addButton {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: #f5007a;
  color: white;
  cursor: pointer;
}



.thread-card {
  background: white;
  border: 1px solid #dddddd;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}



.thread-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}



.vote-area {
  display: flex;
  gap: 10px;
}



.vote-button {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}



.agree {
  background: #00c7c7;
  color: white;
}



.disagree {
  background: #444444;
  color: white;
}



.complete-button {
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #cccccc;
  background: white;
  color: #666666;
  font-size: 13px;
  cursor: pointer;
}



@media (min-width: 700px) {

  body {
    max-width: 700px;
    margin: auto;
  }

}