:root {
  --mission-color: #00aeef; /* Default color for HC missions */
}

body {
  /*background: #009FE3;*/
  background: #fff;
  font-family: "Montserrat", sans-serif;
  width: 100vw;
  height: 100vh;
  margin: 0;
  display: flex;
  overflow: hidden;
}
.container {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
form {
  display: inline-block;
  background: #fff;
  max-width: 730px;
  height: max-content;
  width: 100%;
  border-radius: 5px;
  text-align: center;
}

.star-rating {
  display: flex;
  justify-content: center;
  margin: auto;
  width: 50%;
  -webkit-text-stroke: 0.5px white;
}
.improvements-question {
  color: #231f20;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 36px;
}
#improvements-question {
  color: #231f20;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 20px;
}
.star-rating label {
  font-size: 35px;
  padding: 0 5px;
}

.star-rating label[for="star1"] {
  order: 1;
}

.star-rating label[for="star2"] {
  order: 2;
}

.star-rating label[for="star3"] {
  order: 3;
}

.star-rating label[for="star4"] {
  order: 4;
}

.star-rating label[for="star5"] {
  order: 5;
}

.star-rating input {
  display: none;
}

.star-rating label {
  color: #d2d2d2;
  transition: 0.1s;
  font-weight: 900;
}

.star-rating label.selected,
.star-rating label.selected ~ label {
  color: var(--mission-color);
  font-weight: 900;
}

.star-rating label[for^=star]:hover, /* - CSS overrides are fun - */
.star-rating label:hover ~ label {
  color: var(--mission-color);
  font-weight: 900;
}

form textarea {
  width: calc(100% - 22px);
  height: 100px;
  resize: none;
  border: 1px solid #d2d2d2;
  border-radius: 15px;
  padding: 10px;
}

form button {
  background: #999;
  padding: 10px 20px;
  color: #fff;
  border: 1px solid #999;
  border-radius: 4px;
  transition: 0.1s;
}

form button:hover {
  background: #fff;
  color: #666;
}

/* CUSTOM */

.select-feature {
  /* text-align: justify; */
  width: 135px;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: center; */
}

.select-feature svg {
  display: block;
  margin: 0 auto;
  max-width: 72px;
  max-height: 72px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  /* align-items: center; */
  justify-content: center;
  width: 100%;
  gap: 10px;
}

.feature-text {
  font-size: 15px;
  line-height: 16.5px;
  font-weight: bold;
  text-align: center;
}

/* checkboxes images */

.select-icons input[type="checkbox"][id^="pro"] {
  display: none;
}

.select-icons label {
  display: block;
  position: relative;
  cursor: pointer;
  color: #d1d1d1;
}

.select-icons label img {
  height: 100%;
  width: 100%;
}

/* .select-icons :checked + label img {
  filter: none;
} */

.select-icons :checked + label p {
  color: var(--mission-color);
}

.select-icons :checked + label svg path {
  fill: var(--mission-color);
}
.select-icons label svg {
  filter: drop-shadow(1.5px 1.5px 1.5px #d1d1d1);
}
.select-icons :checked + label svg {
  filter: drop-shadow(1.5px 1.5px 1.5px var(--mission-color));
}

/* Bubblebuttons */

#improvements {
  display: none;
}

.select-buttons input[type="checkbox"][id^="cb"] {
  display: none;
}

.select-buttons :checked + label {
  background-color: var(--mission-color);
  color: #fff;
}

.custom-button {
  background-color: transparent;
  border-radius: 16px;
  border: 1px solid #d1d1d1;
  display: inline-block;
  cursor: pointer;
  color: #000000;
  font-size: 0.85rem;
  padding: 6px 16px;
  margin: 2px;
  text-decoration: none;
}
.custom-button:hover {
  background-color: #d2d2d2;
}
.custom-button:active {
  position: relative;
  top: 1px;
}

/* textarea */
textarea {
  color: #000;
  border: 1px solid #d1d1d1;
  /* outline: none; */
  /* make outline blue like topper */
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  resize: none;
  font-family: "Montserrat";
  font-size: 0.775rem;
}

textarea:focus {
  outline: 1px solid var(--mission-color);
}

#the-count {
  float: right;
  padding: 0.1rem 0 0 0;
  font-size: 0.775rem;
}
#the-textarea {
  font-size: 15px;
  line-height: 16.5px;
}
#the-textarea:placeholder {
  font-size: 15px;
  line-height: 16.5px;
  color: #c4c4c4;
}
#textarea-message {
  color: #231f20;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 20px;
}
#footnotes {
  float: left;
  text-align: left;
  font-size: 15px;
  line-height: 16.5px;
  color: #1b1b1b;
}

.submit-button {
  background-color: var(--mission-color);
  border-radius: 16px;
  border: 1px solid var(--mission-color);
  display: inline-block;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 50px;
  margin: 2px;
  text-decoration: none;
}

/* Toast Messages */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

.toast.error {
  background-color: #ED1B32;
  color: white;
}

.toast p {
  margin: 0;
  font-size: 16px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Success State */
.feedback-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.feedback-success svg {
  margin-bottom: 24px;
}

.feedback-success h2 {
  color: #231f20;
  font-size: 24px;
  margin: 0 0 8px 0;
}

.feedback-success p {
  color: #666;
  font-size: 16px;
  margin: 0;
}
