.page-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-content {
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.page-title-row h1 {
  font-size: 1.5rem;
  margin: 0;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.toolbar select,
.toolbar input[type="search"] {
  min-width: 200px;
}

/* Text wrapping: table-layout fixed, equal-width language columns */
#translations-table table {
  table-layout: fixed;
  width: 100%;
}
#translations-table td,
#translations-table th {
  overflow-wrap: break-word;
}

/* Import/Export modal sections */
.import-export-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.import-box,
.export-box {
  flex: 1;
  min-width: 250px;
}
.import-box h3,
.export-box h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.import-controls,
.export-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
}
.import-result {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: hsl(var(--success-muted));
  color: hsl(var(--success-foreground));
  border-radius: 4px;
  font-size: 0.875rem;
  display: none;
}

.no-app-selected {
  text-align: center;
  padding: 3rem;
  color: hsl(var(--foreground-secondary));
}
.no-app-selected p {
  margin-top: 0.5rem;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
