html.mts_modal_open {
  overflow: hidden;
}
.mts_contact_modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.5px;
}
.mts_contact_modal[hidden] {
  display: none;
}
.mts_contact_modal .dim {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.mts_contact_modal .box {
  position: relative;
  width: 900px;
  height: 600px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
}

/* 좌측 안내 영역 */
.mts_contact_modal .info {
  position: absolute;
  top: 0;
  left: 0;
  width: 450px;
  height: 600px;
  padding: 70px 50px 0;
  box-sizing: border-box;
  background-color: #fafafa;
}
.mts_contact_modal .info em {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  color: #3168da;
}
.mts_contact_modal .info h3 {
  margin-top: 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  color: #1e2029;
}
.mts_contact_modal .info p {
  width: 350px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 26px;
  color: rgba(30, 32, 41, 0.6);
}
.mts_contact_modal .visual {
  position: absolute;
  overflow: hidden;
}
.mts_contact_modal .visual img {
  position: absolute;
  max-width: none;
  object-fit: cover;
}
.mts_contact_modal .visual_brochure {
  top: 352px;
  left: 27px;
  width: 394px;
  height: 178px;
}
.mts_contact_modal .visual_brochure img {
  top: 0;
  left: 0;
  width: 394px;
  height: 178px;
}
.mts_contact_modal .visual_quote,
.mts_contact_modal .visual_meeting {
  top: 350px;
  left: 50px;
  width: 350px;
  height: 200px;
  border-radius: 7.84px;
}
.mts_contact_modal .visual_quote img {
  top: -107px;
  left: -34px;
  width: 570px;
  height: 380px;
}
.mts_contact_modal .visual_meeting img {
  top: -17px;
  left: -25px;
  width: 375px;
  height: 250px;
}

/* 닫기 */
.mts_contact_modal .btn_close {
  position: absolute;
  top: 24px;
  left: 852px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.mts_contact_modal .btn_close img {
  width: 17.2px;
  height: 17.2px;
}

/* 폼 영역: 507px 넘어가면 내부 스크롤 */
.mts_contact_modal .form_area {
  position: absolute;
  top: 68px;
  left: 475px;
  width: 400px;
  height: 507px;
  padding-right: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
@supports not selector(::-webkit-scrollbar) {
  .mts_contact_modal .form_area {
    scrollbar-width: thin;
    scrollbar-color: #d1d6db transparent;
  }
}
.mts_contact_modal .form_area::-webkit-scrollbar {
  width: 4px;
}
.mts_contact_modal .form_area::-webkit-scrollbar-track {
  background: transparent;
}
.mts_contact_modal .form_area::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #d1d6db;
}
.mts_contact_modal .form_area::-webkit-scrollbar-thumb:hover {
  background-color: #8b95a1;
}
.mts_contact_modal .hs-form {
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
}
.mts_contact_modal .hs-form fieldset {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}
/* 폼 상단 제목·설명 리치텍스트는 좌측 안내 영역과 중복이라 숨김 */
.mts_contact_modal .hs-form fieldset > .hs-richtext {
  display: none;
}
.mts_contact_modal .hs-form .input {
  margin: 0;
}
.mts_contact_modal .hs-form-field {
  margin-bottom: 15px;
}
.mts_contact_modal .hs-form-field > label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.26px;
  color: #4e5968;
}
.mts_contact_modal .hs-form-required {
  margin-left: 2px;
  color: #dc2626;
}
.mts_contact_modal .hs-field-desc {
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 18px;
  color: #8b95a1;
}

/* 텍스트 입력 / 셀렉트 / 텍스트영역 */
.mts_contact_modal .hs-input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  height: 56px;
  padding: 12px 16px;
  box-sizing: border-box;
  border: 1px solid #e5e8eb;
  border-radius: 4px;
  background-color: #fff;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #333d4b;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.mts_contact_modal .hs-input::placeholder {
  color: #8b95a1;
}
.mts_contact_modal .hs-input:focus {
  border-color: #1369e9;
}
.mts_contact_modal select.hs-input {
  padding-right: 40px;
  background: #fff
    url("https://www.midasmts.com/hubfs/MTS_GL/images/contact_us/modal_arrow_bottom.svg")
    no-repeat right 16px center / 16px 16px;
  cursor: pointer;
}
/* 미선택(Please Select) 상태는 플레이스홀더 색 */
.mts_contact_modal select.hs-input.is-placeholder {
  color: #8b95a1;
}
/* 윈도우는 옵션 목록이 select 글자색을 물려받으므로 옵션 색 고정 */
.mts_contact_modal select.hs-input option {
  color: #333d4b;
  background-color: #fff;
}
.mts_contact_modal textarea.hs-input {
  height: 74px;
  min-height: 74px;
  resize: vertical;
}
.mts_contact_modal .hs-input.invalid.error {
  border-color: #dc2626;
}

/* 체크박스 */
.mts_contact_modal .hs-fieldtype-checkbox > label {
  margin-bottom: 10px;
}
.mts_contact_modal .inputs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mts_contact_modal .hs-form-checkbox-display,
.mts_contact_modal .hs-form-booleancheckbox-display {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.mts_contact_modal .hs-form-checkbox-display span {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.3px;
  color: #4e5968;
}
.mts_contact_modal .hs-form-checkbox-display input:checked + span {
  color: #333d4b;
}
.mts_contact_modal .hs-form input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  box-sizing: border-box;
  border: 2px solid #d1d6db;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.mts_contact_modal .hs-form input[type="checkbox"]:checked {
  border: 0;
  background: url("https://www.midasmts.com/hubfs/MTS_GL/images/contact_us/modal_checkbox_checked.svg")
    no-repeat center / 20px 20px;
}

/* 동의 체크박스: 자세히보기 링크는 우측 화살표 아이콘으로 */
.mts_contact_modal .legal-consent-container .hs-form-field {
  margin-bottom: 0;
}
.mts_contact_modal .legal-consent-container .inputs-list {
  gap: 8px;
}
.mts_contact_modal
  .legal-consent-container
  .hs-dependent-field
  + .hs-dependent-field,
.mts_contact_modal .legal-consent-container .hs-form-field + .hs-form-field {
  margin-top: 8px;
}
.mts_contact_modal .hs-form-booleancheckbox-display {
  position: relative;
  padding-right: 24px;
}
.mts_contact_modal .hs-form-booleancheckbox-display > span {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.28px;
  color: #333d4b;
}
.mts_contact_modal .hs-form-booleancheckbox-display p {
  display: inline;
  margin: 0;
}
.mts_contact_modal .hs-form-booleancheckbox-display a {
  position: absolute;
  top: 4px;
  right: 0;
  display: block;
  width: 16px;
  height: 16px;
  overflow: hidden;
  font-size: 0;
  background: url("https://www.midasmts.com/hubfs/MTS_GL/images/contact_us/modal_chevron_right.svg")
    no-repeat center / 16px 16px;
}
.mts_contact_modal .legal-consent-container p {
  font-size: 14px;
  line-height: 24px;
  color: #333d4b;
}

.mts_contact_modal #engigye_munuihagi__seosulhyeong-07ff9b9c-4da1-4e73-b79e-03544b7ae620,
.mts_contact_modal #engigye_munuihagi__seosulhyeong-b6db9d07-2956-4df3-b0ee-e73d8bd0c197 {
  resize: none;
}

/* 오류 메시지 */
.mts_contact_modal .hs-error-msgs {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.mts_contact_modal .hs-error-msg,
.mts_contact_modal .hs-error-msgs label {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: #dc2626;
}

/* 제출 */
.mts_contact_modal .hs_submit {
  margin-top: 30px;
}
.mts_contact_modal .hs-button {
  width: 100%;
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background-color: #1369e9;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.mts_contact_modal .submitted-message {
  padding-top: 20px;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333d4b;
}

/* 날짜 선택(raw HTML 폼은 기본 달력 스타일이 없음) */
.fn-date-picker.pika-single {
  z-index: 1100;
  padding: 8px;
  border: 1px solid #e5e8eb;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-family: "Pretendard", sans-serif;
}
.fn-date-picker.is-hidden {
  display: none;
}
.fn-date-picker .pika-title {
  position: relative;
  margin-bottom: 8px;
  text-align: center;
  font-size: 14px;
}
.fn-date-picker .pika-label {
  display: inline-block;
  position: relative;
  margin: 0 4px;
  font-weight: 600;
}
.fn-date-picker .pika-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.fn-date-picker .pika-prev,
.fn-date-picker .pika-next {
  position: absolute;
  top: 0;
  border: 0;
  background: none;
  font-size: 12px;
  cursor: pointer;
}
.fn-date-picker .pika-prev {
  left: 0;
}
.fn-date-picker .pika-next {
  right: 0;
}
.fn-date-picker .pika-table {
  border-collapse: collapse;
}
.fn-date-picker .pika-table th {
  padding: 4px;
  font-size: 12px;
  color: #8b95a1;
}
.fn-date-picker .pika-table abbr {
  text-decoration: none;
}
.fn-date-picker .pika-button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: none;
  font-size: 13px;
  color: #333d4b;
  cursor: pointer;
}
.fn-date-picker .pika-button:hover,
.fn-date-picker .is-selected .pika-button {
  background-color: #1369e9;
  color: #fff;
}
.fn-date-picker .is-disabled .pika-button {
  color: #d1d6db;
  cursor: default;
}
