/* ---------------------------------------------------------------------------
 * IK000071_P01.xfdl 변환본 — IK 제휴점 매뉴얼 삭제 확정 모달 (640x500).
 * Modal #A 19번째 인스턴스 + *확정 카테고리* 3번째 사례 (Rule of Three 도달).
 *
 * 디자인 컨셉: 검토 + 위험 경고 + 조건부 확장.
 *   - 헤더: 위험 액션 표식 (border-bottom: 2px solid #b91c1c)
 *   - 본문: 6 readonly 필드 (label-value 행)
 *   - 조건부: SAP 코드 발급 OR 확정오더 존재 시 *경고 + 무시 체크박스* 표시
 *   - 푸터: .btn-cancel + .btn-delete (.btn-danger, #b91c1c)
 * --------------------------------------------------------------------------- */

#ik-customer-manual-delete-confirm-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
}
#ik-customer-manual-delete-confirm-modal.is-open { display: flex; }

#ik-customer-manual-delete-confirm-modal .layer-wrap {
  width: 640px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#ik-customer-manual-delete-confirm-modal .layer-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 2px solid #b91c1c;
  background: #b91c1c;
  color: #ffffff;
}
#ik-customer-manual-delete-confirm-modal .layer-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
#ik-customer-manual-delete-confirm-modal .layer-close {
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

#ik-customer-manual-delete-confirm-modal .layer-content {
  padding: 16px 20px;
  flex: 1;
  overflow: auto;
}
#ik-customer-manual-delete-confirm-modal .info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
#ik-customer-manual-delete-confirm-modal .info-table th {
  width: 120px;
  background: #f5f6f8;
  border: 1px solid #e1e3e8;
  padding: 8px 12px;
  text-align: left;
  font-weight: 500;
  color: #4b5563;
}
#ik-customer-manual-delete-confirm-modal .info-table td {
  border: 1px solid #e1e3e8;
  padding: 8px 12px;
  background: #ffffff;
  color: #1f2a44;
}
#ik-customer-manual-delete-confirm-modal .info-table td .value {
  font-weight: 500;
}
#ik-customer-manual-delete-confirm-modal .info-table td .warn-strip {
  display: none;
  margin-left: 12px;
  padding: 2px 8px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 3px;
  font-size: 12px;
}
#ik-customer-manual-delete-confirm-modal .info-table tr.is-warn td .warn-strip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#ik-customer-manual-delete-confirm-modal .info-table tr.is-warn td .warn-strip input[type=checkbox] {
  margin: 0;
}

#ik-customer-manual-delete-confirm-modal .layer-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #cdd2dc;
  background: #fafbfc;
}
#ik-customer-manual-delete-confirm-modal .layer-footer button {
  height: 30px;
  padding: 0 16px;
  border: 1px solid #cdd2dc;
  background: #ffffff;
  color: #1f2a44;
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
  font-weight: 600;
}
#ik-customer-manual-delete-confirm-modal .layer-footer .btn-delete {
  background: #b91c1c;
  color: #ffffff;
  border-color: #b91c1c;
}
#ik-customer-manual-delete-confirm-modal .layer-footer .btn-delete:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
}
