
.contact-panel {
  display: none;
  position: absolute;
  top: 241px;
  left: 1257px;
  z-index: 20;
  width: 460px;
  height: 820px;
  box-sizing: border-box;
  pointer-events: none;
}

.contact-panel.is-open {
  pointer-events: auto;
}

.contact-panel__card,
.contact-panel__close,
.contact-panel__body {
  pointer-events: auto;
}

.contact-panel.is-open {
  display: block;
}

.contact-panel__card {
  position: relative;
  width: 460px;
  height: 820px;
  background-color: #fefefe;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(2, 10, 19, 0.18);
  overflow: hidden;
}

.contact-panel__title {
  position: absolute;
  top: 19px;
  left: 35px;
  margin: 0;
  font-family: "Pretendard", Helvetica, sans-serif;
  font-weight: 500;
  color: var(--black-1);
  font-size: 20px;
  letter-spacing: 0.6px;
  line-height: 40px;
  white-space: nowrap;
}

.contact-panel__close {
  position: absolute;
  top: 27px;
  right: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.contact-panel__close img {
  display: block;
  width: 24px;
  height: 24px;
}

.contact-panel__rule {
  position: absolute;
  top: 69px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #e8e8e8;
}

.contact-panel__body {
  position: absolute;
  top: 72px;
  left: 35px;
  width: 390px;
  height: 686px;
  display: flex;
}

.contact-panel__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  height: 100%;
}

.contact-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  flex: 0 0 auto;
}

.contact-field__label {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
}

.contact-field__label-text {
  font-family: var(--desktop-label-semibold-label-m-14px-font-family);
  font-weight: var(--desktop-label-semibold-label-m-14px-font-weight);
  font-size: var(--desktop-label-semibold-label-m-14px-font-size);
  letter-spacing: var(--desktop-label-semibold-label-m-14px-letter-spacing);
  line-height: var(--desktop-label-semibold-label-m-14px-line-height);
  color: #222222;
  white-space: nowrap;
}

.contact-field__req {
  font-family: var(--desktop-label-semibold-label-m-14px-font-family);
  font-weight: var(--desktop-label-semibold-label-m-14px-font-weight);
  font-size: var(--desktop-label-semibold-label-m-14px-font-size);
  letter-spacing: var(--desktop-label-semibold-label-m-14px-letter-spacing);
  line-height: var(--desktop-label-semibold-label-m-14px-line-height);
  color: #0fcbdd;
}

.contact-field__control {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.contact-field__input,
.contact-field__textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 1px solid #c2c2c2;
  border-radius: 2px;
  background: #ffffff;
  font-family: var(--desktop-body-regular-default-body-l-16px-font-family);
  font-weight: var(--desktop-body-regular-default-body-l-16px-font-weight);
  font-size: var(--desktop-body-regular-default-body-l-16px-font-size);
  letter-spacing: var(--desktop-body-regular-default-body-l-16px-letter-spacing);
  line-height: var(--desktop-body-regular-default-body-l-16px-line-height);
  color: var(--black-1);
  outline: 0;
  appearance: none;
}

.contact-field__input {
  height: 48px;
  padding: 10px 16px;
}

.contact-field__textarea {
  height: 90px;
  padding: 10px 16px;
  resize: none;
}

.contact-field__input::placeholder,
.contact-field__textarea::placeholder {
  color: #c2c2c2;
  opacity: 1;
}

.contact-field__input:focus,
.contact-field__textarea:focus,
.contact-field__input:focus-visible,
.contact-field__textarea:focus-visible {
  border: 1px solid #067171;
  outline: none;
  box-shadow: 0 0 0 1px #067171;
}

.contact-panel__submit {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  padding: var(--spacing-16, 16px) var(--spacing-24, 24px);
  border: 0;
  border-radius: var(--corner-radius-16-duplicate, 16px);
  background-color: var(--gray-1);
  color: #f9f9f9 !important;
  font-family: var(--m-font-family, "Pretendard", Helvetica, sans-serif);
  font-weight: var(--m-font-weight, 500);
  font-size: var(--m-font-size, 18px);
  letter-spacing: var(--m-letter-spacing, 0);
  line-height: var(--m-line-height, normal);
  cursor: pointer;
}

.contact-panel__submit:focus-visible,
.contact-panel__close:focus-visible {
  outline: 2px solid #067171;
  outline-offset: 2px;
}

.PC-home .contact-panel {
  width: 430px;
  height: 685px;
}

.PC-home .contact-panel__card {
  width: 430px;
  height: 685px;
  padding-bottom: 0;
  box-sizing: border-box;
}

.PC-home .contact-panel__title {
  top: 16px;
  left: 28px;
  font-size: 18px;
}

.PC-home .contact-panel__close {
  top: 22px;
  right: 24px;
}

.PC-home .contact-panel__rule {
  top: 62px;
}

.PC-home .contact-panel__body {
  position: absolute;
  top: 66px;
  left: 28px;
  margin: 0;
  width: 374px;
  height: 595px;
}

.PC-home .contact-panel__form {
  gap: 14px;
  height: auto;
  padding: 0 4px 0;
  box-sizing: border-box;
}

.PC-home .contact-field {
  gap: 6px;
}

.PC-home .contact-field__input {
  height: 40px;
  padding: 8px 14px;
}

.PC-home input[type="file"].contact-field__input {
  height: auto;
  min-height: 40px;
  padding: 8px 10px;
  line-height: normal;
  overflow: visible;
}

.PC-home .contact-field__textarea {
  height: 68px;
  padding: 8px 14px;
}

.PC-home .contact-panel__submit {
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 8px;
}

.PC-home .group-4 {
  padding: 0;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

@media (max-width: 767px) {
  .MO-home {
    position: relative;
  }

  .MO-home .contact-panel {
    position: fixed;
    inset: 0;
    z-index: 40;
    width: 100%;
    height: 100%;
    top: auto;
    left: auto;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: auto;
  }

  .MO-home .contact-panel.is-open {
    display: flex;
  }

  .MO-home .contact-panel__card {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  }

  .MO-home .contact-panel__body {
    left: 0;
    width: 100%;
    height: calc(100% - 96px);
    top: 80px;
    overflow: hidden;
  }

  .MO-home .contact-panel__scroll {
    position: absolute;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0 20px 24px;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .MO-home .contact-panel__scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .MO-home .contact-panel__form {
    overflow: visible;
    height: auto;
    min-height: 100%;
    padding: 2px 6px 12px;
    box-sizing: border-box;
  }

  .MO-home .contact-panel__scrollbar {
    position: absolute;
    top: 8px;
    right: 4px;
    bottom: 8px;
    z-index: 4;
    width: 8px;
    pointer-events: none;
  }

  .MO-home .contact-panel__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    min-height: 32px;
    background: #cecece;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.15s ease;
  }

  .MO-home .contact-panel__scrollbar.is-visible .contact-panel__thumb {
    opacity: 1;
  }

  .MO-home .contact-field__input,
  .MO-home .contact-field__textarea {
    max-width: 100%;
  }

  .MO-home .contact-field__input:focus,
  .MO-home .contact-field__textarea:focus,
  .MO-home .contact-field__input:focus-visible,
  .MO-home .contact-field__textarea:focus-visible {
    border: 1px solid #067171;
    outline: none;
    box-shadow: 0 0 0 1px #067171;
  }

}

.MO-home .chatbot-toucharea {
  pointer-events: auto;
  cursor: pointer;
}
