/* sp12-ifc.css — оформление импорта/экспорта IFC */

.sp12-ifc-badge {
  display: inline-block;
  margin: 0 6px;
  padding: 1px 6px;
  border-radius: 10px;
  font: 600 10px/1.6 var(--sa-font, system-ui, sans-serif);
  letter-spacing: .04em;
  color: #0b5fa5;
  background: #e5f1fb;
  border: 1px solid #b9d8f0;
  cursor: default;
  white-space: nowrap;
}
.sp12-ifc-badge--warn {
  color: #8a4b00;
  background: #fff3dd;
  border-color: #f0cf94;
}

.sp12-ifc-info {
  margin: 12px 0 16px;
  padding: 12px 14px;
  border: 1px solid #d6e4f0;
  border-left: 3px solid #4b8fd0;
  border-radius: 8px;
  background: #f6fafe;
}
.sp12-ifc-info__head {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  color: #16405f;
}
.sp12-ifc-info__warn {
  margin-left: 8px;
  font-weight: 600;
  color: #a35a00;
}
.sp12-ifc-info__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sp12-ifc-info__table th {
  text-align: left;
  font-weight: 500;
  color: #5a6b7c;
  padding: 3px 10px 3px 0;
  white-space: nowrap;
  vertical-align: top;
  width: 40%;
}
.sp12-ifc-info__table td {
  padding: 3px 0;
  word-break: break-word;
}
.sp12-ifc-info__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #8a4b00;
}

.sp12-ifc-progress {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  background: rgba(12, 22, 34, .35);
}
.sp12-ifc-progress__box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 280px;
  max-width: 90vw;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.sp12-ifc-progress__title { font-weight: 700; margin-bottom: 6px; }
.sp12-ifc-progress__text { font-size: 13px; color: #55606b; margin-bottom: 10px; }
.sp12-ifc-progress__bar {
  height: 6px;
  border-radius: 3px;
  background: #e6ecf2;
  overflow: hidden;
}
.sp12-ifc-progress__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #4b8fd0;
  transition: width .2s ease;
}
