/* General Form Styling */
.section-banner .main-banner__description p {
  max-width: 720px;
  margin: auto;
}
.section-content .container {
  max-width: 900px;
}
.section-content .container .content.sidebar {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
}
.jv2-select,
.jv2-textarea {
  border-color: #c2c2c2;
  border-radius: 0.25rem;
  border-width: 1px;
  margin-bottom: 1.5rem;
  padding: 0.25rem;
  padding-left: 0.5rem;
  width: 100%;
}

/* Select Arrow */
.jv2-select:after {
  content: "";
  background-image: url(/themes/julo_v2/assets/images/arrow-down.png);
  background-size: 10px 6px;
  background-repeat: no-repeat;
  position: absolute;
  top: 16px;
  right: 10px;
  width: 10px;
  height: 6px;
}

/* Select Items */
.jv2-select-items {
  position: absolute;
  overflow: hidden;
  background-color: white;
  top: 65px;
  left: 0;
  right: 0;
  z-index: 1;
  margin-top: 4px;
  border-radius: 8px;
  border: 1px solid #c2c2c2;
}

.jv2-select-items div,
.jv2-select {
  color: #404040;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
}

.jv2-select-items div:hover,
.same-as-selected {
  background: #66cdf6 !important;
  color: #006790 !important;
  font-weight: bold;
}

/* Complaint Bottom Dashed */
.complaint-bottom-dashed {
  border-bottom: 2px dashed #dcdcdc;
  margin-bottom: 24px;
}

/* Radio Button Styles */
.jv2-radio-style {
  padding-bottom: 24px;
}

.jv2-radio-option {
  flex: 0 0 40%;
  display: flex;
  gap: 4px;
  align-items: center;
}

.jv2-radio-option input[type="radio"] {
  /* Hide default radio button */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c2c2c2; /* Set border color */
  background-color: white;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.jv2-radio-option input[type="radio"]:checked {
  background-color: #fff;
  border-color: #00acf0; /* Update the border color */
}

.jv2-radio-option input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00acf0;
}

.jv2-radio-option label {
  width: 90%;
}

/* Counter */
.jv2-counter {
  position: absolute;
  right: 0;
  bottom: 12px;
  font-size: 10px;
  color: #9e9e9e;
}

/* Badge Styling */
.jv2-badge {
  border: 1px solid #c2c2c2;
  padding: 2px 4px;
  background: #ededed;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
}

/* Complaint Survey Button */
.complaint-survey-next,
.contact-us-back,
.contact-us-submit {
  text-align: center;
  background-color: #ededed;
  border: 1px solid #ededed;
  border-radius: 0.25rem;
  color: #9e9e9e;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  padding: 0.5rem;
  width: 100%;
  pointer-events: none;
}

.complaint-survey-next.enabled,
.contact-us-submit.enabled {
  background-color: #00acf0;
  border: 1px solid #00acf0;
  cursor: pointer;
  pointer-events: all;
  color: #fff;
}

.contact-us-back {
  background-color: white;
  border-color: #00acf0;
  border: 1px solid #00acf0;
  color: #00acf0;
  margin-right: 24px;
  width: 98%;
  pointer-events: all;
  cursor: pointer;
}
.page-node-faq .content .contact-us-block__form input.button {
  display: none;
}

/* Contact Form Fields */
.contact-form-data-diri-fields {
  display: flex;
  flex-wrap: wrap;
}
.contact-form-data-diri-fields .field--widget-string-textfield,
.contact-form-data-diri-fields .field--widget-telephone-default {
  width: 48%;
  margin-right: 24px;
}
.contact-form-data-diri-fields .field--name-field-nik,
.contact-form-data-diri-fields .field--name-field-alamat-email {
  margin-right: 0px;
}
.contact-form-data-diri-fields .field--widget-string-textfield input,
.contact-form-data-diri-fields .field--widget-telephone-default input {
  width: 100%;
  min-height: 42px;
}
.contact-form-data-diri-fields.has-upload {
  border-top: 2px dashed #dcdcdc;
  padding-top: 26px;
  margin-top: 26px;
}
.page-node-faq .content .contact-us-block .form-item #warning-alphabet,
.page-node-faq .content .contact-us-block .form-item #warning-numeric {
  top: 56px;
}

/* File Upload Form Styling */
.js-form-managed-file.form-managed-file {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  justify-content: space-between;
  cursor: pointer;
  background: #b2e6fa;
  border-radius: 8px;
}

.js-form-item.form-item.js-form-type-managed-file input {
  background: #b2e6fa;
  padding: 20px 16px;
  color: transparent;
  border-radius: 8px;
  width: 100%;
  border: 2px dashed #00acf0;
}

/* Buttons and Icons for File Upload */
#kontak_upload_ktp input.button,
#kontak_upload_selfie input.button,
#kontak_dokumen_pendukung input.button {
  position: absolute;
  right: 20px;
}

/* Hide description for file input */
.js-form-item.form-item.js-form-type-managed-file .description {
  display: none;
}

/* Upload Fields Styling */
.field--name-field-upload-ktp,
.field--name-field-upload-selfie {
  margin-bottom: 24px;
  position: relative;
}

input::file-selector-button {
  color: transparent;
  width: 20px;
  height: 20px;
  vertical-align: text-top;
  background: url("/themes/julo_v2/assets/images/icons/file.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border: 0px;
  box-shadow: none;
}

/* Uploaded Files Styling */
.file.file--image a,
.file.file--application-pdf a,
.file--mime-video-webm a,
.file--mime-video-mp4 a,
.file--mime-video-quicktime a {
  font-size: 14px;
  display: block;
  word-break: break-word;
  word-wrap: break-word;
  max-width: 100%;
  min-width: 260px;
}

.file.file--image,
.file.file--application-pdf,
.file--mime-video-webm,
.file--mime-video-mp4,
.file--mime-video-quicktime {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
}

.file.file--image:before,
.file.file--application-pdf:before,
.file--mime-video-webm:before,
.file--mime-video-mp4:before,
.file--mime-video-quicktime:before {
  content: "";
  background: url(https://www.julo.co.id/themes/julo_v2/assets/images/icons/success.svg) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 20px !important;
  display: block;
  width: 20px;
  height: 20px;
}

.file.file--image a:after,
.file.file--application-pdf a:after,
.file--mime-video-webm a:after,
.file--mime-video-mp4 a:after,
.file--mime-video-quicktime a:after {
  content: "Upload berhasil";
  color: #757575;
  display: block;
  font-size: 10px;
  margin-top: -4px;
}

.form-managed-file .messages.file-upload-js-error {
  position: absolute;
  font-size: 10px;
  top: 108px;
  background: white;
  z-index: 2;
  color: red;
}
.page-node-faq .uploaded .form-managed-file input.button.js-form-submit {
  display: block;
  width: 20px !important;
  height: 20px;
  background: url("/themes/julo_v2/src/images/icons/ic-x.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  color: transparent !important;
  border: 0px !important;
}
/* Uploaded Styling */
.js-form-item.form-item.js-form-type-managed-file.uploaded .form-managed-file,
.js-form-item.form-item.js-form-type-managed-file.uploaded input {
  border: 1px solid #ededed !important;
  background: white;
}
.js-form-type-managed-file .warning-error {
  position: absolute;
}

.field--type-file .ajax-progress.ajax-progress-throbber {
  position: absolute;
  right: 20px;
}

.form-managed-file .js-form-file.form-file:after {
  content: "Pilih File";
  color: #00acf0;
  font-weight: 700;
  position: absolute;
  left: 60px;
  font-size: 14px;
}

.warning-error {
  font-size: 10px;
  color: red;
}
.contact-form-data-diri-fields .warning-error {
  position: absolute;
  top: 58px;
}

.form-item input.error,
.form-item textarea.error {
  border: 1px solid red !important;
}

.field--type-file .js-form-type-managed-file label {
  font-size: 16px !important;
}

.field-upload-description {
  font-size: 12px;
  color: #757575;
  margin-bottom: 4px;
}

.contact-us-block__info .grid-cols-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.contact-us-block__info .card__subheader {
  font-weight: 700;
}
.contact-us-block__info .card-item__description {
  width: 100%;
}
.contact-us-block__info .block-info-desc {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.page-node-faq .content .contact-us-block__info .card-item {
  border-radius: 16px !important;
  padding-bottom: 12px !important;
  padding-top: 12px !important;
}
.form-actions .form-submit.disabled {
  background-color: #ededed !important;
}
.field--name-field-total-document,
.field--name-field-kategori,
.field--name-field-sub-kategori,
.field--name-field-survey,
.field--name-field-pertanyaan-kamu {
  display: none;
}

.loading-overlay {
  background: url("/core/themes/stable/images/core/throbber-active.gif");
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  display: none;
  width: 100%;
  height: 18px;
}
.loading-overlay.loading {
  display: block;
}

.files-upload-info {
  background: #eaf0fe;
  border: 1px solid #83a7fa;
  border-radius: 8px;
  padding: 8px 12px;
  color: #2453c2;
  font-size: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.files-upload-info.hidden {
  display: none !important;
}

/*suggested answer*/
.complaint-suggested-answer {
  border-top: 2px dashed #dcdcdc;
}
.complaint-suggested-answer-content{
  background: #DEF3FF;
  padding: 16px;
  font-size: 14px;    
  border-radius: 16px;
  margin-bottom: 16px;
}
.complaint-suggested-answer strong{
  font-size: 16px;
}
.complaint-suggested-answer p{
  margin-bottom: 4px;
}
.complaint-suggested-answer ul {list-style-type: none;
  padding-left: 0;
  counter-reset: list-item;
  position: relative;
}
.complaint-suggested-answer ul li {
  counter-increment: list-item;
  margin-left: 30px;
  margin-bottom: 8px;
}
.complaint-suggested-answer ul li::before {
  content: counter(list-item);
  background-color: #3498db;
  border-radius: 50%;
  color: white;
  text-align: center;
  width: 22px;
  height: 22px;
  font-size: 12px;    
  line-height: 23px;
  position: absolute;
  left: 0;
}
.complaint-suggested-answer .suggested-feedback {
  border-top: 2px dashed #66CDF6;
}
.complaint-suggested-answer #suggested-answer a {
  color: #00acf0;
  font-weight: bold;
}
.suggested-feedback-msg-header{ 
  margin-left: 0px!important;
}
.julo-suggested-answer-form .form-submit,
.julo-suggested-answer-feedback-form .action-button {
  display: none;
}
.faq-rating-container__thumbs__rate:active{
 background: #f3f3f3; 
}
.suggested-answer-block-overlay{
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  opacity: 0;
  border-radius: 24px;
}

.shimmer-wrapper {
  width: 100%;
  height: 20px;
  background-color: #f6f7f8;
  background-image: linear-gradient(
    to right,
    #f6f7f8 0%,
    #edeef1 20%,
    #f6f7f8 40%,
    #f6f7f8 100%
  );
  background-repeat: no-repeat;
  background-size: 800px 100%;
  position: relative;
  animation: shimmer 1.5s infinite linear;
  border-radius: 8px;
  margin-bottom: 4px;
}

@keyframes shimmer {
  0% {
    background-position: -800px 0;
  }
  100% {
    background-position: 800px 0;
  }
}

.suggested-answer-info{
  background: #FDE5CE;
  border-radius: 8px;
  padding: 8px 12px;
  color: #965B22;
  font-size: 12px;
  margin-bottom: 24px;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.suggested-answer-info img{
  filter: grayscale(1) sepia(1) hue-rotate(348deg) saturate(5);
}
.suggested-answer-info p {
  margin-left: 20px;
}

@media (max-width: 700px) {
  .page-node-faq .content .contact-us-block-wrapper {
    padding: 1.5rem 1.25rem !important;
  }
  .contact-form-data-diri-fields .field--widget-string-textfield,
  .contact-form-data-diri-fields .field--widget-telephone-default {
    width: 100%;
    margin-right: 0;
  }
  .jv2-radio-option {
    flex: 0 0 100%;
  }
}
