/* ---------------------------------------------------------------------------
 * IK000070_P01.xfdl 변환본 — TR조직 변경 에러 상세 모달 (856x628).
 * Modal #A 18번째 인스턴스 + *표시 카테고리* 첫 사례.
 * --------------------------------------------------------------------------- */

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

#ik-tr-org-error-modal .layer-wrap {
  width: 880px;
  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-tr-org-error-modal .layer-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 2px solid #b91c1c;
  background: #b91c1c;
  color: #ffffff;
}
#ik-tr-org-error-modal .layer-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
#ik-tr-org-error-modal .layer-close {
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}
#ik-tr-org-error-modal .layer-content { padding: 12px 16px; flex: 1; overflow: auto; }
#ik-tr-org-error-modal .ik-tr-org-error-grid {
  border: 1px solid #cdd2dc;
  border-radius: 3px;
  height: 500px;
  overflow: auto;
}
#ik-tr-org-error-modal .ik-tr-org-error-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
#ik-tr-org-error-modal .ik-tr-org-error-grid thead th {
  background: #fafbfc;
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid #cdd2dc;
  font-weight: 600;
  position: sticky;
  top: 0;
}
#ik-tr-org-error-modal .ik-tr-org-error-grid td {
  padding: 4px 8px;
  border-bottom: 1px solid #eef0f3;
  text-align: center;
}
#ik-tr-org-error-modal .ik-tr-org-error-grid td.err {
  color: #b91c1c;
  text-align: left;
}
#ik-tr-org-error-modal .layer-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #cdd2dc;
  background: #fafbfc;
}
#ik-tr-org-error-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-tr-org-error-modal .layer-footer .btn-excel {
  background: #2c4368;
  color: #ffffff;
  border-color: #2c4368;
}
