/* Review gate, matched to the Grand Welcome Tampa rating pages. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  color: #333;
  background-color: #fff;
  min-height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}

button,
input,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rating-body {
  min-height: 100%;
}

.page-container {
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px 15px;
}

.page-container.rating-page-container {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 15px;
}

.review-content {
  background-color: #f3f3f1;
  border-radius: 8px;
  flex-direction: column;
  justify-content: safe center;
  align-items: center;
  flex: 1;
  width: 100%;
  min-height: 100%;
  padding: 80px 16px 90px;
  display: flex;
}

.review-photo {
  border: 3px solid #01afec;
  border-radius: 200px;
  width: 150px;
  height: 150px;
  flex: none;
  overflow: hidden;
  background-color: #fff;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.review-h2 {
  color: #053757;
  margin: 30px 0 12px;
  font-family: Caveat, cursive;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.review-header-summary {
  color: #4d4c4c;
  text-align: center;
  max-width: 500px;
  margin: 0 0 30px;
  padding-left: 20px;
  padding-right: 20px;
  font-family: Poppins, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.5em;
}

.rating-container {
  text-align: center;
  margin-top: 30px;
  width: max-content;
  max-width: 100%;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.star {
  font-size: 40px;
  line-height: 1;
  color: gray;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0 1px;
  font-family: Arial, sans-serif;
}

.star.is-on {
  color: orange;
}

.review-slider {
  width: 100%;
  margin: 20px 0;
}

.review-button {
  color: #fff;
  background-image: linear-gradient(121deg, #fcaa02, #e89702);
  border: 2px solid #dc8f00;
  border-radius: 20px;
  margin-top: 20px;
  padding: 8px 25px;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}

.review-button:hover {
  filter: brightness(1.03);
}

.review-button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.feedback-form {
  width: 100%;
  max-width: 400px;
  margin-top: 1rem;
}

.review-form-label,
.review-fieldset legend {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.review-fieldset {
  border: 0;
  margin: 8px 0 10px;
  padding: 0;
}

.review-form-field {
  color: #333;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 38px;
  margin-bottom: 10px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.42857;
  display: block;
}

.review-form-field::placeholder {
  color: #999;
}

.review-form-field:focus {
  border-color: #3898ec;
  outline: 2px solid #3898ec;
  outline-offset: 1px;
}

textarea.review-form-field {
  height: auto;
  min-height: 96px;
  resize: vertical;
}

.choice {
  margin-bottom: 5px;
  padding-left: 20px;
  display: block;
  cursor: pointer;
  font-family: Poppins, sans-serif;
  font-weight: 400;
}

.choice input {
  float: left;
  margin: 3px 0 0 -20px;
}

.feedback-form .review-button {
  width: 100%;
}

.w-form-done,
.w-form-fail {
  display: none;
}

.w-form-done.is-visible,
.w-form-fail.is-visible {
  display: block;
}

.review-form-success {
  color: #4d4c4c;
  background-color: #f9f9f8;
  border-radius: 8px;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.review-form-error {
  background-color: #ffdede;
  border-radius: 6px;
  margin-top: 30px;
  padding: 15px 20px;
  width: 100%;
  max-width: 400px;
}

.review-form-error-message {
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4em;
}

:focus-visible {
  outline: 2px solid #053757;
  outline-offset: 3px;
}

@media screen and (max-width: 991px) {
  .page-container {
    padding: 10px 10px 0;
  }

  .page-container.rating-page-container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .page-container {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

