* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Overpass", sans-serif;
  font-optical-sizing: auto;
  padding-top: 196px;
  background-color: #16181c;
}

.component {
  display: flex;
  flex-direction: column;
  width: 412px;
  height: 416px;
  border-radius: 32px;
  margin: 0 auto;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.component::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 416px;
  pointer-events: none;
  background: radial-gradient(
    circle at top center,
    #252d36 0%,
    #1e2227 50%,
    #111316 100%
  );
  z-index: -1;
}

.circle-star-group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 40px;
}

.circle {
  width: 48px;
  height: 48px;
  background-color: #252d36;
  border-radius: 50%;
  position: relative;
}

.circle img {
  position: absolute;
  left: 16px;
  top: 16px;
}

h1 {
  font-weight: 500;
  font-size: 30px;
  line-height: 23px;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  color: #fff;
}

p {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.01em;
  margin-bottom: 23px;
  color: #959eab;
}

.customer-rating-group {
  display: flex;
  gap: 27px;
  margin-bottom: 32px;
}

.customer-rating-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background-color: #252d36;
  border-radius: 50%;
  cursor: pointer;
}

.customer-rating-button:hover {
  background-color: #1a2025;
  box-shadow: 1px 1px 10px #acacac80;
}

.customer-rating-button.active {
  background-color: #cc5e0f;
  color: black;
}

.customer-rating-button.active span {
  color: black;
}

.customer-rating-button span {
  color: #959eab;
  font-size: 16px;
  font-weight: bold;
}

button {
  width: 100%;
  height: 48px;
  background: #fb7312;
  border-radius: 24px;
  cursor: pointer;
}

button:hover {
  background: #cc5e0f;
}

button:active {
  background: #fff;
}

button span {
  font-weight: bold;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.13em;
}

/* ===============Thank You page ============================ */

article.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

.thank-you-message-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 412px;
  height: 416px;
  border-radius: 32px;
  margin: 0 auto;
  padding: 46px 32px 2px 32px;
  position: relative;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.thank-you-message-group.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.thank-you-message-group::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 416px;
  pointer-events: none;
  background: radial-gradient(
    circle at top center,
    #252d36 0%,
    #1e2227 50%,
    #111316 100%
  );
  z-index: -1;
}

.thank-you-message-group img {
  width: 165px;
  margin-bottom: 32px;
}

.rating-confirmation {
  width: 193px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 35px;
  border-radius: 14px;
  background: #2a2d34;
  padding-top: 3px;
  margin-bottom: 44px;
}

.rating-confirmation span {
  font-family: "Overpass", sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.01em;
  color: #c88457;
}

.thank-you-greeting h1 {
  font-weight: 500;
  font-size: 30px;
  line-height: 23px;
  letter-spacing: -0.04em;
  margin-bottom: 17px;
  color: #fff;
  text-align: center;
}

.thank-you-greeting p {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.01em;
  margin-bottom: 17px;
  padding: 0px 8px;
  color: #89909a;
  text-align: center;
}
