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

:root {
  --color-primary: #d78b19;
  --color-primary-hover: #bf6f07;
  --color-secondary: #b3906a;
  --color-secondary-hover: #a8774d;
  --color-bg: #f8f8f8;
  --color-muted-text: #475569;
  --color-disabled: #a1a1aa;
  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;
  flex-direction: column;
  align-items:  center;
  min-height: 100vh;
  margin: 0;
}

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

.panel {
  background: var(--color-bg);
  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;
}

.hero-image {
  display: block;
  border-radius: 12px;
  width: min(560px, 100%);
  margin: auto;
  box-shadow: 0 8px 20px #804d234d;
}

.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 {
  background: var(--color-secondary);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: .45rem .8rem;
}

.mapping-row button:hover {
  background: var(--color-secondary-hover);
}

.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 {
  background: var(--color-primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--color-primary-hover);
}

.btn.secondary {
  background: var(--color-secondary);
  color: #fff;
}

.btn.secondary:hover {
  background: var(--color-secondary-hover);
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: var(--color-disabled);
}

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

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

.status {
  color: var(--color-muted-text);
  margin: .15rem 0;
}

.muted-text {
  color: var(--color-muted-text);
  font-size: .9rem;
}

footer {
  text-align: center;
  color: var(--color-muted-text);
  width: min(960px, 100%);
  padding: 1rem 1.5rem;
  font-size: .95rem;
}
