.container {
  background-color: white;
  display: flex;
  flex-direction: column;
  min-width: 500px;
  width: 95vw;
  height: 95vh;
  border-radius: var(--dss-radius-sm);
  overflow: hidden;
}

/* .header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: black;
  padding: var(--dss-spacing-sm);

  .title {
    display: flex;
    flex-direction: row;
    gap: 8px;
  }
} */

.content{
  display: grid;
  flex: 1;
  min-height: 0;
  /* TEMPORAL: amaguem la columna esquerra (importDataActivityHistory) fins
     que el client validi la nova UX. Per reactivar, tornar a
     `grid-template-columns: 1fr 1fr;` i treure el `display: none` de sota. */
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px;
}

.content > primaria-region[name="import-data-activity-history-region"] {
  display: none;
}

.content > primaria-region {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.content primaria-region > div {
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-neutral-200);
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
}

/* Right column: stacks plugin cards and scrolls as a whole. */
.content > primaria-region[name="import-data-region"] > div {
  overflow-y: auto;
}

/* Left column: vertical stack of multiple views with a gap. The last view
   takes the remaining space and handles its own scroll; preceding views
   keep their natural height. */
.content > primaria-region[name="import-data-activity-history-region"] > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.content > primaria-region[name="import-data-activity-history-region"] > div > * {
  flex-shrink: 0;
}

.content > primaria-region[name="import-data-activity-history-region"] > div > *:last-child {
  flex: 1;
  min-height: 0;
}

.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: white;
  justify-content: end;
  gap: 12px;
  height: 56px;
  border-top: 1px solid var(--color-neutral-100);
  padding: var(--dss-spacing-sm);
}