@charset "UTF-8";
.feedback-form-container {
  animation: fade-slide-in 0.3s cubic-bezier(0.45, 0, 0.55, 1);
  background-color: #ffffff;
  border-radius: 1.25em;
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.05);
  padding: 1.5em;
  margin: 2em auto;
  max-width: 28.5em;
  width: calc(100% - 3em);
}
.feedback-form-container h3 {
  color: #0b0c0e;
  margin-bottom: 1em;
  font-size: 1.25em;
  text-align: center;
}
.feedback-rating {
  display: flex;
  gap: 0.75em;
  margin-bottom: 1.5em;
}
@media (max-width: 480px) {
  .feedback-rating {
    flex-direction: column;
  }
}
.feedback-option {
  flex: 1;
  text-align: center;
}
.feedback-option input[type="radio"] {
  display: none;
}
.feedback-option input[type="radio"]:checked + label {
  background: #4CAF50;
  color: #ffffff;
  border-color: #4CAF50;
}
.feedback-option input[type="radio"]:checked + label .emoji {
  animation: pop-out 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.feedback-option label {
  display: block;
  padding: 0.75em;
  background: #ffffff;
  border: 2px solid #d5d7dd;
  border-radius: 0.75em;
  cursor: pointer;
  transition: all 0.3s;
}
.feedback-option label:hover {
  background: #f1f2f4;
  transform: translateY(-2px);
}
.feedback-option label .emoji {
  font-size: 1.5em;
  line-height: 1;
  margin-bottom: 0.25em;
  display: block;
}
.feedback-option label .option-text {
  font-weight: 500;
  color: #0b0c0e;
}
.feedback-comment {
  margin-bottom: 1.5em;
}
.feedback-comment label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 500;
  color: #0b0c0e;
}
.feedback-comment textarea {
  width: 100%;
  height: 6em;
  padding: 0.75em;
  border: 2px solid #d5d7dd;
  border-radius: 0.5em;
  resize: vertical;
  font-family: inherit;
  font-size: 1em;
  transition: border-color 0.3s;
  background: #ffffff;
  color: #0b0c0e;
}
.feedback-comment textarea:focus {
  outline: none;
  border-color: #4CAF50;
}
.feedback-comment textarea:hover:not(:focus) {
  border-color: #b9bcc6;
}
.feedback-submit {
  background: #4CAF50;
  color: #ffffff;
  border: none;
  border-radius: 0.5em;
  padding: 0.75em 1.5em;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  min-height: 3em;
  transition: background-color 0.3s, transform 0.2s;
}
.feedback-submit:hover:not(:disabled) {
  background: #3d8b40;
  transform: translateY(-1px);
}
.feedback-submit:active:not(:disabled) {
  transform: translateY(0);
}
.feedback-submit:disabled {
  background: #b9bcc6;
  cursor: not-allowed;
  opacity: 0.7;
}
.feedback-thankyou {
  text-align: center;
  padding: 1.5em;
  background: #fcfefc;
  border-radius: 0.5em;
  color: #2d682f;
  margin-top: 1.5em;
  border: 1px solid #d9eeda;
}
.feedback-thankyou p {
  margin: 0;
  font-weight: 500;
}
@keyframes pop-out {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}
@keyframes fade-slide-in {
  0% {
    opacity: 0;
    transform: translateY(2em);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.feedback-loading {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s linear infinite;
  margin-right: 0.5em;
}
.feedback-error {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.5em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.feedback-error::before {
  content: "⚠";
}
