/* ---------------------------------------------------------------------------
 * IK_Main_P06.xfdl 변환본 — IK 제휴점 엑셀 업로드 일괄삭제 모달 (700x640).
 * Modal #A 15번째 인스턴스 + *모달 변종 엑셀 업로드*.
 * .btn-go.danger 위험 액션 시각화 2번째 사례 (IK000071 매뉴얼 삭제 다음).
 * --------------------------------------------------------------------------- */

#ik-batch-delete-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-batch-delete-modal.is-open { display: flex; }

#ik-batch-delete-modal .layer-wrap {
  width: 720px;
  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-batch-delete-modal .layer-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 2px solid #2c4368;
  background: #2c4368;
  color: #ffffff;
}
#ik-batch-delete-modal .layer-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
#ik-batch-delete-modal .layer-close {
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}
#ik-batch-delete-modal .layer-content {
  padding: 12px 16px;
  overflow: auto;
  flex: 1;
}
#ik-batch-delete-modal .ik-batch-delete-file-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f6f7fa;
  border: 1px solid #cdd2dc;
  border-radius: 3px;
  margin-bottom: 6px;
}
#ik-batch-delete-modal .ik-batch-delete-file-row .label {
  font-size: 12px;
  color: #1f2a44;
  font-weight: 600;
}
#ik-batch-delete-modal .ik-batch-delete-file-row .file-name {
  flex: 1;
  height: 26px;
  padding: 0 8px;
  border: 1px solid #cdd2dc;
  border-radius: 3px;
  font-size: 12px;
  background: #ffffff;
}
#ik-batch-delete-modal .ik-batch-delete-file-row .btn {
  height: 26px;
  padding: 0 12px;
  border: 1px solid #cdd2dc;
  background: #ffffff;
  color: #1f2a44;
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
}
#ik-batch-delete-modal .ik-batch-delete-info-row {
  text-align: right;
  margin: 6px 0 4px 0;
}
#ik-batch-delete-modal .ik-batch-delete-info-row .total {
  font-size: 12px;
  color: #6d7280;
}
#ik-batch-delete-modal .ik-batch-delete-grid {
  border: 1px solid #cdd2dc;
  border-radius: 3px;
  height: 380px;
  overflow: auto;
}
#ik-batch-delete-modal .ik-batch-delete-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
#ik-batch-delete-modal .ik-batch-delete-grid thead th {
  background: #fafbfc;
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid #cdd2dc;
  font-weight: 600;
}
#ik-batch-delete-modal .ik-batch-delete-grid td {
  padding: 4px 8px;
  border-bottom: 1px solid #eef0f3;
  text-align: center;
}
#ik-batch-delete-modal .ik-batch-delete-grid tr.is-error td { background: #fef2f2; color: #b91c1c; }
#ik-batch-delete-modal .layer-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #cdd2dc;
  background: #fafbfc;
}
#ik-batch-delete-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;
}
#ik-batch-delete-modal .layer-footer .btn-go.danger {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
  font-weight: 700;
}
#ik-batch-delete-modal .layer-footer .btn-go.danger:disabled {
  background: #fca5a5;
  border-color: #fca5a5;
  cursor: not-allowed;
}
