.kddc-launch-wrap {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.kdb-result-price,
.kdt-result-price {
  text-align: center;
}

.kdb-result-price > span,
.kdb-result-price .kdb-price-range {
  text-align: center;
}

.kddc-fare-adjuster {
  display: grid;
  width: min(360px, 100%);
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  margin: 6px auto 0;
}

.kdb-result-price .kddc-fare-value,
.kdt-result-price .kddc-fare-value {
  color: #0b3d9b;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.kddc-delivery-fare-range {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #cdddf5;
  text-align: center;
}

.kdt-result-price .kddc-delivery-fare-range strong {
  margin-top: 3px;
  color: #5c6f8a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.kddc-fare-control {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid #9dbcee;
  border-radius: 50%;
  background: #fff;
  color: #0b3d9b;
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.kddc-fare-control:hover,
.kddc-fare-control:focus,
.kddc-fare-control:active {
  border-color: #1457d9;
  background: #f4f8ff;
  color: #0b3d9b !important;
}

.kddc-fare-control:disabled {
  border-color: #d5dfed;
  background: #f2f5f9;
  color: #98a5b7 !important;
  cursor: default;
  opacity: 0.7;
}

.kddc-launch {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff6b35, #e84a18);
  box-shadow: 0 10px 24px rgba(190, 54, 12, 0.22);
  color: #fff;
  cursor: pointer;
  font-family: "Kdaeri NanumSquareNeo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 27.52px;
  letter-spacing: normal;
  text-align: center;
}

.kddc-launch:hover,
.kddc-launch:focus,
.kddc-launch:active {
  border-color: transparent;
  background: linear-gradient(135deg, #f45d2a, #d94113);
  color: #fff !important;
  text-decoration: none;
}

.kddc-launch:hover {
  box-shadow: 0 12px 28px rgba(190, 54, 12, 0.28);
  transform: translateY(-1px);
}

.kddc-launch:active {
  box-shadow: 0 6px 16px rgba(190, 54, 12, 0.22);
  transform: translateY(0);
}

.kddc-launch:focus-visible,
.kddc-modal button:focus-visible,
.kddc-modal input:focus-visible,
.kddc-modal select:focus-visible,
.kddc-modal textarea:focus-visible,
.kddc-modal summary:focus-visible {
  outline: 3px solid rgba(20, 87, 217, 0.25);
  outline-offset: 2px;
}

.kddc-launch span {
  font: inherit;
  letter-spacing: inherit;
}

body.kddc-modal-open {
  overflow: hidden;
}

/* 직접 호출 팝업의 진행 버튼을 가리지 않도록 사이트 고정 전화바를 잠시 숨깁니다. */
body.kddc-modal-open #callnowbutton {
  display: none !important;
}

.kddc-overlay[hidden],
.kddc-step[hidden],
.kddc-verification[hidden],
.kddc-test-code[hidden] {
  display: none !important;
}

.kddc-overlay,
.kddc-overlay * {
  box-sizing: border-box;
}

.kddc-overlay {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.66);
  font-family: "Kdaeri NanumSquareNeo", "Noto Sans KR", sans-serif;
}

.kddc-modal {
  width: min(720px, 100%);
  max-height: min(900px, calc(100vh - 36px));
  overflow-y: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.3);
  color: #172033;
  overscroll-behavior: contain;
}

.kddc-modal-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e3e8ef;
  background: rgba(255, 255, 255, 0.97);
}

.kddc-modal-header h2 {
  margin: 0;
  color: #172033;
  font-size: 24px;
  line-height: 1.3;
}

.kddc-close {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f4f8;
  color: #46556f;
  cursor: pointer;
  font: inherit;
  font-size: 26px;
  line-height: 1;
}

.kddc-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 18px 24px 10px;
  list-style: none;
}

.kddc-progress li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  color: #7b8798;
  font-size: 14px;
  font-weight: 700;
}

.kddc-progress li span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #e9edf3;
  color: #69778c;
  font-size: 13px;
}

.kddc-progress li.is-current,
.kddc-progress li.is-complete {
  color: #0b3d9b;
}

.kddc-progress li.is-current span,
.kddc-progress li.is-complete span {
  background: #1457d9;
  color: #fff;
}

.kddc-test-notice {
  margin: 10px 24px 0;
  padding: 11px 13px;
  border: 1px solid #f4c9b8;
  border-radius: 10px;
  background: #fff7f3;
  color: #9c3511;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.kddc-sms-help {
  margin: 10px 0 0 !important;
}

.kddc-step {
  padding: 24px;
}

.kddc-step h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 22px;
  line-height: 1.35;
}

.kddc-step > p {
  margin: 0 0 18px;
  color: #5f6b7a;
  line-height: 1.65;
}

.kddc-check-all,
.kddc-consent-item > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}

.kddc-check-all {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #bfd3f6;
  border-radius: 12px;
  background: #f2f7ff;
  color: #0b3d9b;
  font-size: 17px;
  font-weight: 800;
}

.kddc-check-all input,
.kddc-consent-item input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #1457d9;
}

.kddc-consent-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 18px;
}

.kddc-consent-item {
  padding: 14px 15px;
  border: 1px solid #dfe5ec;
  border-radius: 12px;
}

.kddc-consent-item > label {
  color: #374151;
  font-weight: 700;
}

.kddc-consent-item details {
  margin: 10px 0 0 30px;
}

.kddc-consent-item summary {
  width: max-content;
  color: #1457d9;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.kddc-legal-copy {
  max-height: 310px;
  margin-top: 10px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #f8fafc;
  color: #46556f;
  font-size: 13px;
  line-height: 1.65;
}

.kddc-legal-copy h4 {
  margin: 16px 0 5px;
  color: #26344a;
  font-size: 14px;
}

.kddc-legal-copy h4:first-child {
  margin-top: 0;
}

.kddc-legal-copy p,
.kddc-legal-copy ol,
.kddc-legal-copy ul {
  margin: 5px 0;
}

.kddc-legal-copy ol,
.kddc-legal-copy ul {
  padding-left: 21px;
}

.kddc-primary,
.kddc-secondary {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
}

.kddc-primary {
  border: 1px solid #1457d9;
  background: #1457d9;
  color: #fff;
}

.kddc-primary:hover,
.kddc-primary:focus,
.kddc-primary:active {
  border-color: #0f48b9;
  background: #0f48b9;
  color: #fff !important;
  text-decoration: none;
}

.kddc-secondary {
  margin-top: 12px;
  border: 1px solid #bfd3f6;
  background: #eff5ff;
  color: #0b3d9b;
}

.kddc-secondary:hover,
.kddc-secondary:focus,
.kddc-secondary:active {
  border-color: #9fbee9;
  background: #e2edff;
  color: #0b3d9b !important;
  text-decoration: none;
}

#kddc-request-sms:not(:disabled) {
  border-color: #1457d9;
  background: #1457d9;
  color: #fff;
}

#kddc-request-sms:not(:disabled):hover,
#kddc-request-sms:not(:disabled):focus,
#kddc-request-sms:not(:disabled):active {
  border-color: #0f48b9;
  background: #0f48b9;
  color: #fff !important;
}

.kddc-primary:disabled,
.kddc-secondary:disabled {
  border-color: #cdd4df;
  background: #dfe4eb;
  color: #7b8798;
  cursor: not-allowed;
}

.kddc-field {
  display: grid;
  gap: 7px;
  color: #26344a;
  font-weight: 700;
}

.kddc-field span {
  font-size: 15px;
}

.kddc-field small {
  color: #7b8798;
  font-weight: 500;
}

.kddc-field input,
.kddc-field select,
.kddc-field textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 16px;
}

.kddc-field input::placeholder,
.kddc-field textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
  opacity: 1;
}

.kddc-field textarea {
  min-height: 88px;
  resize: vertical;
}

.kddc-verification {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e1e6ed;
}

.kddc-test-code {
  margin: 0 !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7df;
  color: #7a4d00 !important;
  font-size: 14px;
  font-weight: 800;
}

.kddc-status {
  min-height: 24px;
  margin: 10px 0 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.kddc-status.is-error {
  color: #c62828 !important;
}

.kddc-status.is-success {
  color: #087a55 !important;
}

.kddc-review-route {
  display: grid;
  gap: 0;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 12px;
}

.kddc-review-route > div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  padding: 11px 13px;
  border-bottom: 1px solid #e6eaf0;
}

.kddc-review-route > div:last-child {
  border-bottom: 0;
}

.kddc-review-route > div[hidden] {
  display: none !important;
}

.kddc-review-route dt,
.kddc-review-route dd {
  margin: 0;
}

.kddc-review-route dt {
  color: #7b8798;
  font-weight: 600;
}

.kddc-review-route dd {
  color: #172033;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.kddc-final-warning {
  margin: 18px 0 10px !important;
  padding: 12px 13px;
  border-radius: 9px;
  background: #f3f6fa;
  color: #46556f !important;
  font-size: 13px;
  line-height: 1.6;
}

.kddc-complete {
  padding-top: 34px;
  text-align: center;
}

.kddc-complete-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eaf8f2;
  color: #087a55;
}

.kddc-complete-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.kddc-complete .kddc-test-notice {
  margin: 14px 0 20px;
}

@media (max-width: 620px) {
  .kddc-fare-adjuster {
    width: min(300px, 100%);
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 9px;
  }

  .kddc-fare-control {
    width: 42px;
    height: 42px;
  }

  .kddc-overlay {
    align-items: end;
    padding: 0;
  }

  .kddc-modal {
    width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
  }

  .kddc-modal-header,
  .kddc-step {
    padding-right: 18px;
    padding-left: 18px;
  }

  .kddc-progress {
    padding-right: 14px;
    padding-left: 14px;
  }

  .kddc-progress li {
    gap: 4px;
    font-size: 12px;
  }

  .kddc-progress li span {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
  }

  .kddc-test-notice {
    margin-right: 18px;
    margin-left: 18px;
  }

  .kddc-review-route > div {
    grid-template-columns: 80px 1fr;
  }
}
