.importacoes-view {
  display: grid;
  gap: 14px;
}

.importacoes-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
}

.importacoes-panel {
  padding: 14px;
}

.upload-dropzone {
  border: 2px dashed #c6d2ef;
  border-radius: 14px;
  background: #fbfcff;
  min-height: 160px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}

.upload-dropzone.dragover {
  border-color: var(--brand-purple);
  background: #f6f1ff;
}

.upload-dropzone .hint {
  color: var(--text-muted);
  margin-top: 6px;
}

.upload-progress {
  margin-top: 10px;
}

.selected-files {
  margin-top: 10px;
  border: 1px solid #dfe5f4;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.selected-files-empty {
  color: var(--text-muted);
  padding: 10px 12px;
}

.selected-files-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #f7f8fc;
  border-bottom: 1px solid #e6eaf7;
}

.selected-files-header span {
  color: var(--text-muted);
}

.selected-files-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 190px;
  overflow: auto;
}

.selected-files-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2fb;
}

.selected-files-list li:last-child {
  border-bottom: 0;
}

.selected-files-list li.invalid {
  background: #fff9ed;
}

.selected-files-list strong {
  display: block;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-files-list span {
  color: var(--text-muted);
}

.progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e6eaf7;
  overflow: hidden;
}

.progress-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(110deg, var(--brand-purple), #7f4ec0);
}

.importacoes-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.importacoes-lote-kpis {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  margin-bottom: 10px;
}

@media (max-width: 1180px) {
  .importacoes-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .importacoes-filters,
  .importacoes-lote-kpis {
    grid-template-columns: 1fr;
  }
}
