/* style.css */
* {
  box-sizing: border-box;
}

:root {
  color: #111;
  background: #f8f9fb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}

body {
  display: flex;
  background: #f8f9fb;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}

main {
  width: min(960px, 100%);
  padding: 1.5rem;
}

[x-cloak] {
  display: none !important;
}

.panel {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px #0f172a14;
}

.panel h2 {
  margin-top: 0;
}

.hero-panel {
  margin-bottom: .75rem;
}

.file-group, .mapping-row {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: .65rem;
}

.mapping-row input, .mapping-row select {
  border: 1px solid #d0d7e7;
  border-radius: 8px;
  flex: 1;
  min-width: 160px;
  padding: .45rem .65rem;
}

.mapping-row button {
  cursor: pointer;
  background: #e0e7ff;
  border: none;
  border-radius: 8px;
  padding: .45rem .8rem;
}

.mapping-row button:hover {
  background: #b3bffa;
}

.mapping-list {
  margin-top: 1rem;
}

.mapping-controls {
  margin-top: .85rem;
}

.btn {
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: .7rem 1.25rem;
  transition: background .15s;
  font-size: .95rem;
  font-weight: 600;
}

.btn.primary {
  color: #fff;
  background: #2563eb;
}

.btn.secondary {
  color: #1d4ed8;
  background: #e0e7ff;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.generate-button {
  margin-top: .5rem;
}

.status-panel {
  margin-top: .75rem;
}

.status {
  color: #475569;
  margin: .15rem 0;
}

.muted-text {
  color: #475569;
  font-size: .9rem;
}
