/* OWGE scenario DOCX import UI */
.owge-docx-import-panel {
  margin: 0 0 18px;
  border: 1px solid rgba(96, 165, 250, .24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, .12), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, .82), rgba(11, 22, 38, .70));
  box-shadow: 0 14px 28px rgba(0,0,0,.20), inset 0 0 0 1px rgba(148, 163, 184, .045);
  padding: 16px;
}

.owge-docx-import-panel * {
  box-sizing: border-box;
}

.owge-docx-import-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.owge-docx-import-kicker {
  color: #60a5fa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.owge-docx-import-title {
  margin-top: 4px;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.owge-docx-import-subtitle {
  margin-top: 5px;
  color: rgba(226, 232, 240, .72);
  font-size: 13px;
  line-height: 1.45;
}

.owge-docx-import-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, .8fr) auto;
  gap: 12px;
  align-items: end;
}

.owge-docx-field {
  display: grid;
  gap: 7px;
}

.owge-docx-field label {
  color: rgba(203, 213, 225, .70);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.owge-docx-field input[type="text"],
.owge-docx-field input[type="file"] {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  background: rgba(2, 6, 23, .48);
  color: #e5edf8;
  padding: 10px 12px;
  font: inherit;
}

.owge-docx-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.owge-docx-btn {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, .34);
  background: rgba(59, 130, 246, .16);
  color: #dbeafe;
  padding: 10px 13px;
  font: inherit;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.owge-docx-btn:hover {
  background: rgba(59, 130, 246, .26);
}

.owge-docx-btn:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.owge-docx-status {
  margin-top: 12px;
  min-height: 22px;
  color: rgba(226, 232, 240, .82);
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.owge-docx-status.is-good {
  color: #86efac;
}

.owge-docx-status.is-bad {
  color: #fca5a5;
}

.owge-docx-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.owge-docx-scenario-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 14px;
  background: rgba(2, 6, 23, .32);
  padding: 10px 12px;
}

.owge-docx-scenario-title {
  color: #f8fafc;
  font-weight: 850;
  text-transform: uppercase;
}

.owge-docx-scenario-meta {
  margin-top: 3px;
  color: rgba(203, 213, 225, .66);
  font-size: 12px;
}

@media (max-width: 1000px) {
  .owge-docx-import-grid {
    grid-template-columns: 1fr;
  }

  .owge-docx-scenario-row {
    grid-template-columns: 1fr;
  }
}

.owge-docx-scenario-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.owge-docx-btn--danger {
  border-color: rgba(248, 113, 113, .42);
  background: rgba(127, 29, 29, .28);
  color: #fecaca;
}

.owge-docx-btn--danger:hover {
  background: rgba(185, 28, 28, .36);
}

.owge-docx-scenario-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.owge-docx-btn--danger {
  border-color: rgba(248, 113, 113, .42);
  background: rgba(127, 29, 29, .28);
  color: #fecaca;
}

.owge-docx-btn--danger:hover {
  background: rgba(185, 28, 28, .36);
}
