@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Potta+One&display=swap");

.feedback {
  width: min(350px, 100vw);
  height: 555px;
  display: none;
  align-items: center;
  background-color: transparent;
}

.feedback-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #17002f;
  box-shadow: 0px 0px 7px 0px #888888;
  border-radius: 12px 12px 5px 5px;
  background-image: radial-gradient(farthest-side, #afc8f9 90%, #fff0), radial-gradient(farthest-side, #ddc1fb 90%, #fff0), radial-gradient(circle at 0 0, #d5e0fa, #e5d5f6) !important;
  background-size: 0rem 0rem, 0rem 0rem, auto;
  background-position: 30% 10%, 80% 90%, 0;
  background-repeat: no-repeat;
  backdrop-filter: blur(50px);
  background-color: rgba(255, 255, 255, 0.5);
}

.feedback-close-button {
  width: 100%;
  height: auto;
  padding: 1.5rem 2rem;
  padding-bottom: 0px;
  display: flex;
  flex-direction: row;
  justify-content: right;
  gap: 1rem;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.rating-div {
  width: 100%;
  flex: 1;
  padding: 0.5rem 2rem 0rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 2rem;
}

.rating-div .rating-title {
  font-weight: bold;
}

.rating-div .rating-description {
  line-height: 1.6;
  color: #493a57;
}

.rate-box {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.1rem;
}

.rate-box input {
  display: none;
}

.rate-box input:hover ~ .star:before {
  color: rgba(255, 204, 51, 0.5);
}
.rate-box input:active + .star:before {
  transform: scale(0.9);
}
.rate-box input:checked ~ .star:before {
  color: #ffcc33;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3), -3px -3px 8px rgba(255, 255, 255, 0.8);
}

.rate-box .star:before {
  content: "★";
  display: inline-block;
  font-family: "Potta One", cursive;
  font-size: 2.5rem;
  cursor: pointer;
  color: #0000;
  text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
  background-color: #aaa;
  background-clip: text;
  -webkit-background-clip: text;
  transition: all 0.3s;
}

.feedback-textarea {
  border: none;
  resize: none;
  width: 100%;
  padding: 0.5rem;
  padding-top: 0.9rem;
  color: inherit;
  line-height: 1.5;
  border-radius: 0.2rem;
  box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.3), inset -2px -2px 8px rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.3);
}

textarea::placeholder {
  color: #aaa;
}

textarea:focus {
  outline-color: #ffcc33;
}

.submit-btn {
  padding: 0.2rem 0.5rem;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3), -3px -3px 8px rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  cursor: pointer;
  background-color: rgba(255, 204, 51, 0.8);
  transition: all 0.2s;
  margin-top: 7px;
  border: none;
  color: inherit;
  font: inherit;
}

.submit-btn:active {
  transform: translate(2px, 2px);
}

.after-feedback-text {
  margin-bottom: 50px;
  color: #1f003d;
  font-weight: bold;
  font-size: large;
}

#close-feedback{
  height: 35px;
  cursor: pointer;
}
