@charset "utf-8";

html,
body {
  overflow-x: hidden;
}

.customer-feedback-banner .left {
  width: 70%;
}

.customer-feedback-content {
  position: relative;
}

.feedback-field {
  max-width: 85%;
  margin: 0 0 50px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feedback-field .field-box {
  padding: 20px 0;
  border-bottom: 1px solid #d8d8d8;
  width: 30%;
}

.feedback-field .field-box input[type="text"] {
  border: 0;
  margin: 0;
  padding: 0 0 0 35px;
  min-height: 24px;
  border-radius: 0;
  font-family: var(--title-font);
  font-weight: bold;
  color: #04043F;
}

.feedback-field .field-box.respondent input[type="text"] {
  background: url("../icons/profile.svg") no-repeat left top;
  background-size: 24px;
}

.feedback-field .field-box.project input[type="text"] {
  background: url("../icons/personal-card.svg") no-repeat left top;
  background-size: 24px;
}

.feedback-field .field-box.date input[type="text"] {
  background: url("../icons/calendar.svg") no-repeat left top;
  background-size: 24px;
}

.feedback-field .field-box input[type="text"]::-webkit-input-placeholder {
  color: #04043F;
  opacity: 0.6;
}

.feedback-field .field-box input[type="text"]::-moz-placeholder {
  color: #04043F;
  opacity: 0.6;
}

.feedback-field .field-box input[type="text"]:-ms-input-placeholder {
  color: #04043F;
  opacity: 0.6;
}

.feedback-field .field-box input[type="text"]::placeholder {
  color: #04043F;
  opacity: 0.6;
}

/* Prevents the calendar from inheriting weird default focus rings */
#datepicker:focus {
  outline: none;
}

/* Customizing the jQuery UI Calendar container to look modern */
.ui-datepicker {
  background: #ffffff !important;
  border: 1px solid #d8d8d8 !important;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
  border-radius: 4px;
  padding: 10px;
}

.ui-datepicker-header {
  background: #f4f4f4 !important;
  border: none !important;
  color: #333 !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
  border: none !important;
  background: #f9f9f9 !important;
  text-align: center;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
  background: var(--orange) !important;
  /* Changes selected date color to blue */
  color: #fff !important;
}

.customer-feedback-content .circle {
  position: absolute;
  width: 300px;
  top: 200px;
  right: -100px;
}

.survey-table-wrapper {
  max-width: 85%;
  overflow-x: auto;
  position: relative;
}

.survey-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
}

.survey-table th {
  font-family: var(--title-font);
  white-space: nowrap;
  font-size: 20px;
  font-weight: 700;
  color: #04043F;
  padding: 15px;
  text-align: center;
  background: #fff;
}

th.title-col {
  text-align: left !important;
  padding-left: 0 !important;
  font-size: 30px !important;
  font-weight: 500 !important;
}

.survey-table td {
  background: #fff;
  border-top: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
  padding: 20px;
  text-align: center;
}

.survey-table td:first-child {
  border-left: 1px solid #D9D9D9;
  border-radius: 12px 0 0 12px;
}

.survey-table td:last-child {
  border-right: 1px solid #D9D9D9;
  border-radius: 0 12px 12px 0;
}

.survey-table .question-box {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.survey-table .number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #D5EBFC;
  color: #04043F;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.survey-table .question-box span:last-child {
  font-family: var(--title-font);
  font-size: 20px;
  line-height: 1.4;
  color: #04043F;
}

.survey-table input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #9F9F9F;
  border-radius: 50%;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.survey-table input[type="radio"]:checked::after {
  content: "";
  width: 11px;
  height: 11px;
  background: #EF8354;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-title {
  font-size: 30px;
  font-weight: 500;
  padding-bottom: 20px;
}

.connect {
  max-width: 85%;
}

.connect textarea {
  height: 160px;
}

.connect .captcha {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* .connect button {
  width: 600px;
} */

@media (max-width: 1800px) {
  th.title-col {
    font-size: 25px !important;
  }

  .survey-table th {
    font-size: 16px;
  }

  .survey-table .number {
    font-size: 16px;
    width: 35px;
    height: 35px;
    min-width: 35px;
  }

  .survey-table .question-box span:last-child {
    font-size: 16px;
  }

  .form-title {
    font-size: 25px;
  }
}

@media (max-width: 1440px) {
  .customer-feedback-content .circle {
    width: 200px;
  }
}

@media (max-width: 1280px) {

  .customer-feedback-content .feedback-field,
  .survey-table-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .customer-feedback-content .circle {
    width: 100px;
  }

  .customer-feedback-content .feedback-field,
  .survey-table-wrapper,
  .connect {
    max-width: 100%;
  }

  .customer-feedback-content .feedback-field .selected-text {
    font-size: 12px;
  }

  .connect button {
    width: 100%;
  }

  .survey-table {
    border-spacing: 0 10px;
  }

  .survey-table th {
    white-space: normal;
  }

  .survey-table th,
  .survey-table td {
    padding: 8px;
  }

  .survey-table .question-box {
    gap: 10px;
  }

  th.title-col {
    font-size: 20px !important;
  }

  .survey-table .question-box {
    align-items: flex-start;
  }

  .survey-table tr {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #D9D9D9;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
  }

  .survey-table thead tr {
    border: none;
    margin: 0px;
  }

  .survey-table thead tr th:not(:first-child) {
    display: none;
  }

  .survey-table tr td {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .survey-table tr td:first-child:before {
    display: none;
  }

  .survey-table tr td:nth-child(2) {
    border-bottom: none;
  }

  .survey-table tr td:before {
    content: attr(data-title);
    display: inline-block;
    width: 200px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #373737;
  }

  .survey-table td:first-child {
    border: none;
  }

  .survey-table td:last-child {
    border: none;
  }

  .feedback-field .field-box input[type="text"] {
    font-size: 14px;
  }
}

@media(max-width:767px) {
  .customer-feedback-banner.home-banner .left h1 {
    font-size: 34px;
    text-align: center;
  }

  .customer-feedback-banner .left,
  .customer-feedback-banner .right {
    width: 100%;
    padding-right: 0 !important;
  }

  .customer-feedback-banner .right {
    text-align: center;
  }

  .customer-feedback-content .feedback-field {
    margin-bottom: 30px;
  }

  .customer-feedback-content .feedback-field .selected-text {
    font-size: 16px;
  }

  .customer-feedback-content .circle {
    display: none;
  }

  .form-title {
    font-size: 20px;
  }

  .connect .captcha {
    flex-wrap: wrap;
    gap: 15px;
  }

  .connect .left,
  .connect .right {
    width: 100%;
  }

  .feedback-field {
    gap: 0px;
  }

  .feedback-field .field-box {
    width: 100%;
    padding: 10px 0;
  }
}

.form-response {
    margin-top: 20px;
}

.form-response .success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}

.form-response .error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}