#capacity-survey-form {
    width:500px;
    margin:auto;
    padding: 20px;
}

.capacity-slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.capacity-slide {
  padding-bottom: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.capacity-question p {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 25px;
}

.capacity-scale {
  display: flex;
  justify-content: start;
  gap: 15px;
}

.capacity-choice {
  display: flex;
  align-items: center;
  justify-content: center;
}

.capacity-intro {
    margin-bottom: 20px;
    font-size: 17px;
}

.capacity-choice button {
    width: 44px;
    height: 44px;
    border: 2px solid #808080;
    border-radius: 50%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: black;
}

.capacity-choice button:hover {
  border-color: #ffffff;
  background: #000000;
  border: 2px solid #000000;
}

.capacity-choice button.selected {
  background-color: #000000;
  color: white;
  border-color: #000000;
}

.capacity-nav button {
    padding: 10px 0px!important;
    font-size: 16px!important;
    font-weight: 600!important;
    background-color: transparent!important;
    border-radius: 0px!important;
    cursor: pointer;
    border: none!important;
    color: black!important;
}

.capacity-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.capacity-nav button {
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 600;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
}

.capacity-nav button:disabled {
  opacity: 0.4;
  cursor: default;
}

#capacity-submit {
  text-align: center;
  margin-top: 20px;
}

#capacity-submit input[type="submit"] {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

@media screen and (max-width: 480px) {
  #capacity-survey-form {
    width: 90%;
    padding: 16px;
  }

  .capacity-question p {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .capacity-scale {
    flex-wrap: wrap;
    justify-content: left;
  }

  .capacity-nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
  }

  .capacity-nav button {
    width: auto;
  }
}