:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --primary: #2563eb;
  --border: #e5e7eb;
  --shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  display: grid;
  gap: 20px;
}

.header {
  display: grid;
  gap: 8px;
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

h1 {
  margin: 0;
  font-size: 28px;
}

h2 {
  margin: 0;
  font-size: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 600;
}

input,
textarea,
button {
  font-family: inherit;
  font-size: 14px;
}

input,
textarea,
select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}

textarea {
  resize: vertical;
}

.inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.inline input,
.inline button {
  flex: 1 1 auto;
}

.inline input[type="number"] {
  max-width: 120px;
}

.checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
}

button {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  background: #e2e8f0;
  color: #111827;
  cursor: pointer;
  font-weight: 600;
}

button.primary {
  background: var(--primary);
  color: #fff;
}

button.ghost {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--muted);
}

button:hover {
  filter: brightness(0.96);
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.hint {
  font-size: 12px;
  color: var(--muted);
}

.conditions {
  display: grid;
  gap: 10px;
}

.condition-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.condition-item span {
  flex: 1 1 auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.status {
  font-size: 13px;
  color: var(--muted);
}

.seat-grid {
  display: grid;
  gap: 10px;
  justify-content: start;
}

.seat {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  border: 1px solid var(--border);
  font-weight: 600;
}

.seat.empty {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--muted);
}

@media (max-width: 720px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}
