* {
   box-sizing: border-box;
}

body {
   margin: 0;
   padding: 0;
   background: #ecedff;
   font-family: 'Tondo Corp', sans-serif !important;
   box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
   margin: 0;
   padding: 0;
}

.top_header {
   display: flex;
   padding: 10px 32px;
   background: white;
   width: 100%;
}

.form-container {
   display: flex;
   flex-direction: column;
   align-items: center;
   position: relative;
   max-width: 820px;
   margin: 48px auto;
   padding: 20px;
   border-radius: 16px;
   border: 1px solid #fff;
   background: #f4f5ff;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container p,
.feedback-form-group .feedback-form-input input,
.feedback-form-group .feedback-form-textarea textarea,
.feedback-form-input span,
.feedback-form-meta .char-count {
   font-size: 16px;
   font-weight: 400;
   line-height: 24px;
   letter-spacing: -0.16px;
   color: #696b6f;
}
.feedback-form-group:nth-child(5) {
   border: none;
}
.char-count {
   padding-top: 8px;
}

.upper-title-tile {
   display: flex;
   gap: 12px;
   align-items: center;
   width: 100%;
   padding-bottom: 12px;
}

.upper-title-tile h1 {
   font-size: 24px;
   font-weight: 600;
   line-height: 28px;
   letter-spacing: -0.3px;
   color: #292c31;
}

.upper-title-tile p {
   font-size: 18px;
   line-height: 26px;
   letter-spacing: -0.225px;
   overflow: hidden;
   text-overflow: ellipsis;
   color: #696b6f;
   padding-top: 4px;
}

.feedbackForm-wrapper {
   display: flex;
   flex-direction: column;
   width: 100%;
}

.feedback-form-group {
   display: flex;
   flex-direction: column;
   padding: 24px 0;
   border-bottom: 1px solid #fff;
}

.feedback-form-group:last-child {
   border-bottom: none;
}

.feedback-form-label {
   display: flex;
   flex-direction: row;
   gap: 8px;
   align-items: flex-start;
   padding-bottom: 20px;
}
.feedback-form-label h3 {
   font-size: 16px;
   font-weight: 600;
   line-height: 24px;
   color: #292c31;
}

.feedback-form-label p strong {
   font-size: 16px;
   font-weight: 600;
   line-height: 24px;
   color: #292c31;
}

.feedback-form-input,
.feedback-form-textarea {
   width: 100%;
}

.feedback-form-input input,
.feedback-form-textarea textarea {
   width: 100%;
   padding: 0 12px;
   border-radius: 8px;
   border: 1px solid #afb5ef;
   background: #fbfbff;
   outline: none;
   transition: border-color 0.3s ease;
}

.feedback-form-input input {
   height: 48px;
   line-height: 18px;
}

.feedback-form-textarea textarea {
   padding: 8px 12px;
   font-family: 'Tondo Corp';
   line-height: 18px;
   resize: vertical;
}

.feedback-form-input input:focus,
.feedback-form-textarea textarea:focus {
   border-color: #075ee8;
}

.feedback-form-radio {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.feedback-form-radio label {
   display: flex;
   align-items: center;
   position: relative;
   padding-left: 40px;
   font-size: 14px;
   font-weight: 600;
   line-height: 16px;
   letter-spacing: -0.07px;
   color: #292c31;
   cursor: pointer;
}

.feedback-form-radio input[type='radio'] {
   appearance: none;
   width: 20px;
   height: 20px;
   border: 1px solid #075ee8;
   border-radius: 50%;
   position: absolute;
   left: 0;
   top: 50%;
   transform: translateY(-50%);
   cursor: pointer;
   margin: 0;
}
.feedback-form-radio input[type='radio']:focus {
   outline: none;
}

.feedback-form-radio input[type='radio']:checked::before {
   content: '';
   display: block;
   width: 8px;
   height: 8px;
   background-color: #075ee8;
   border-radius: 50%;
   position: absolute;
   top: 50%;
   left: 5px;
   transform: translateY(-50%);
}

.feedback-form-input a {
   display: flex;
   align-items: center;
   gap: 4px;
   padding-top: 8px;
   cursor: pointer;
}

.feedback-form-input span {
   color: #075ee8;
   font-weight: 600;
}

.feedbackForm-wrapper button {
   max-width: 460px;
   margin: 0 auto;
   width: 100%;
   height: 48px;
   border: none;
   border-radius: 8px;
   padding: 14px 12px;
   font-size: 16px;
   font-weight: 600;
   line-height: 18px;
   letter-spacing: -0.08px;
   color: #696b6f;
   background: #a0a2a4;
   cursor: not-allowed;
   border: none;
   outline: none;
}

.feedbackForm-wrapper button.active {
   background-color: #000;
   color: #fff;
   cursor: pointer;
}

.feedback-form-meta {
   display: none;
   justify-content: space-between;
   margin-top: 4px;
   font-size: 0.875rem;
}

.feedback-form-meta.visible {
   display: flex;
}

.error-message {
   font-size: 14px;
   font-weight: 400;
   line-height: 20px;
   color: #b22020;
   /* padding-top: 8px; */
}

.input-error {
   border-color: #b22020 !important;
}

.error-message-top {
   position: absolute;
   top: -20px;
   left: 50%;
   transform: translateX(-50%);
   max-width: 420px;
   padding: 14px 16px;
   border-radius: 12px;
   border: 1px solid #eb4f4f;
   background: #faa;
   color: #292c31;
   font-size: 12px;
   font-weight: 600;
   line-height: 18px;
   text-align: center;
   display: none;
}

#viewDiv {
   position: absolute;
   width: 1px;
   height: 1px;
   opacity: 0;
   pointer-events: none;
}

#custom-locate-widget {
   display: flex;
   align-items: center;
   cursor: pointer;
   gap: 4px;
   padding-top: 8px;
}

#custom-locate-widget span {
   order: 1;
}

/* Thank you message */
.feedback-thankyou {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 391px;
   padding: 20px;
   display: none;
   flex-direction: column;
   align-items: center;
   gap: 12px;
   border-radius: 16px;
   border: 1px solid #fff;
   background: #f4f5ff;
}

.feedback-thankyou .thankyou-content h2 {
   font-size: 24px;
   font-weight: 600;
   line-height: 28px;
   letter-spacing: -0.3px;
   color: #292c31;
   text-align: center;
}

.feedback-thankyou .thankyou-content p {
   font-size: 18px;
   font-weight: 400;
   line-height: 26px;
   letter-spacing: -0.225px;
   color: #696b6f;
   text-align: center;
   padding-top: 4px;
}

.feedback-thankyou .thankyou-button {
   width: 100%;
}

.feedback-thankyou .thankyou-button button {
   width: 100%;
   height: 48px;
   padding: 14px 12px;
   border: none;
   border-radius: 8px;
   background: #000;
   color: #fff;
   font-size: 16px;
   font-weight: 600;
   line-height: 18px;
   letter-spacing: -0.08px;
   margin-top: 20px;
   cursor: pointer;
}

/* Responsive */
@media (max-width: 767px) {
   .form-container {
      margin: 30px 16px;
      padding: 16px;
   }

   .feedback-form-group {
      padding: 16px 0;
   }

   .feedback-form-group .feedback-form-input input,
   .feedback-form-group .feedback-form-textarea textarea,
   .feedback-form-input span,
   .feedbackForm-wrapper button {
      font-size: 14px;
   }

   .top_header {
      padding: 10px 16px;
   }

   .upper-title-tile {
      flex-direction: column;
      align-items: flex-start;
   }

   .upper-title-tile h1 {
      font-size: 16px;
      line-height: 1.2;
   }

   .upper-title-tile p,
   .form-container p,
   .feedback-form-label p strong {
      font-size: 14px;
      line-height: 1.5;
   }
   .upper-title-tile {
      flex-direction: column;
   }

   .upper-title-tile-img {
      order: 1;
   }

   .upper-title-tile-img svg {
      height: 96px;
      width: 96px;
   }

   .upper-title-tile-text {
      order: 2;
   }

   .feedback-form-icon svg {
      width: 40px;
      height: 40px;
   }

   .feedback-thankyou {
      width: 90%;
   }

   .feedback-thankyou .thankyou-content h2 {
      font-size: 16px;
   }

   .feedback-thankyou .thankyou-content p,
   .feedback-thankyou .thankyou-button button {
      font-size: 14px;
   }
}
.required-star {
   color: red;
   font-size: 1em;
   vertical-align: super;
}
