@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@400;600&display=swap");

@media (max-width: 768px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Inter", "PingFang SC", sans-serif;
  background: #f7f5f2;
  color: #2f2a26;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  letter-spacing: 1px;
}

.nav-links a {
  margin-left: 16px;
  text-decoration: none;
  color: #4b3c33;
  font-weight: 600;
}

.container {
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(120deg, #ffe0e7, #f3f4ff);
  box-shadow: 0 20px 60px rgba(255, 182, 193, 0.3);
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-card.accent {
  background: #ffe9f0;
}

.stat-card.highlight {
  background: #fff6e9;
}

.stat-card.soft {
  background: #f4f6ff;
}

.stat-card .meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #7a6f66;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.dashboard-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.progress-indicator {
  background: #f9f2f6;
  border-radius: 999px;
  padding: 6px 14px;
  display: flex;
  gap: 8px;
  font-size: 12px;
  align-items: center;
  color: #6c5c53;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #f1e7df;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(120deg, #ffb2c2, #e5b9ff);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.qr-card {
  background: #fdf9f7;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #f1e7df;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qr-card h3 {
  margin: 0;
}

.qr-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: #4b3c33;
  font-weight: 600;
}

.qr-link img {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  border: 1px solid #eee;
  background: white;
  padding: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-link:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.qr-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.summary-card {
  background: #f9f7f5;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #efe6df;
}

.summary-card h3 {
  margin: 0 0 6px;
  font-size: 26px;
}

.summary-card .meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #7a6f66;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tile {
  background: #2f2a26;
  color: #fff;
  text-decoration: none;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ledger-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.ledger-card {
  background: #f9f7f5;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #efe6df;
}

.ledger-card-title {
  font-weight: 600;
  color: #6c5c53;
  margin-bottom: 10px;
}

.ledger-balance,
.ledger-total {
  font-size: 22px;
  font-weight: 700;
}

.ledger-balance.income,
.ledger-total.income {
  color: #2f8f5f;
}

.ledger-balance.expense,
.ledger-total.expense {
  color: #c25252;
}

.ledger-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #6c5c53;
}

.ledger-overall {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.ledger-overall .muted {
  font-size: 12px;
}

.ledger-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.ledger-import {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ledger-import input[type="file"] {
  max-width: 280px;
}

.ledger-import-status {
  font-size: 12px;
}

.ledger-import-status.is-error {
  color: #b94949;
}

.ledger-filter label {
  font-weight: 600;
  gap: 6px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-gutter: stable;
}

.table-scroll::-webkit-scrollbar {
  height: 10px;
}

.table-scroll::-webkit-scrollbar-track {
  background: #efe8e1;
  border-radius: 999px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: #cbbdb1;
  border-radius: 999px;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
  background: #b8a89c;
}

.ledger-table input,
.ledger-table select {
  min-width: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: end;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

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

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  gap: 8px;
}

.field-label-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #f1c5c5;
  background: #fff0f0;
  color: #b94949;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
select,
textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e3dcd5;
  font-size: 14px;
}

input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e3dcd5;
  background: #fff;
  cursor: pointer;
}

.btn {
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.btn.small {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 10px;
}

.btn.primary {
  background: #2f2a26;
  color: white;
}

.btn.ghost {
  background: transparent;
  border: 1px solid #d1c7be;
  color: #4b3c33;
}

.list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f7f5;
  padding: 16px;
  border-radius: 14px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.table th,
.table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.guest-table .attendee-count-col {
  width: 110px;
}

.attendee-input {
  min-width: 80px;
}

.attendee-picker {
  display: flex;
  gap: 8px;
  align-items: center;
}

.attendee-picker select {
  min-width: 120px;
}

.attendee-picker[data-custom="false"] .attendee-input {
  display: none;
}

.custom-info-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 200px;
}

.custom-info-summary {
  font-weight: 600;
  margin-bottom: 4px;
}

.custom-info-preview {
  color: #6c5c53;
  font-size: 12px;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guest-dialog {
  border: none;
  border-radius: 16px;
  padding: 0;
  width: min(520px, 92vw);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.guest-dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.dialog-header,
.dialog-actions {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dialog-header {
  border-bottom: 1px solid #eee;
}

.dialog-body {
  padding: 16px;
}

.dialog-actions {
  border-top: 1px solid #eee;
  justify-content: flex-end;
}

.inline-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.guest-actions .inline-form {
  flex-direction: row;
  align-items: center;
}

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

.inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 10px 12px;
  border: 1px solid #e3dcd5;
  border-radius: 12px;
  background: #fff;
}

.checkbox-option {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.checkbox-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2f2a26;
}

.checkbox-single {
  width: fit-content;
  border: 1px solid #e3dcd5;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 10px 12px;
  border: 1px solid #e3dcd5;
  border-radius: 12px;
  background: #fff;
}

.radio-option {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2f2a26;
}

.invitation-field-form {
  gap: 14px 16px;
}

.invitation-section-list {
  gap: 14px;
}

.image-upload-box {
  border: 1px dashed #e4d8cf;
  border-radius: 12px;
  padding: 12px;
  background: #fcfaf8;
}

.image-upload-box .inline-actions {
  justify-content: flex-start;
}

.image-upload-box [data-image-upload-status] {
  font-size: 12px;
}

.image-upload-box [data-image-upload-status].is-error {
  color: #b94949;
}

.route-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.route-image-grid a {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8dfd8;
  display: block;
}

.route-image-grid img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
}

.invitation-section-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.section-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.section-editor-form {
  align-items: end;
}

.section-editor-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.section-editor-delete {
  align-self: flex-end;
}

.field-required-wrap {
  border: 1px solid #eadfd6;
  border-radius: 12px;
  padding: 12px 14px;
  background: #faf6f3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: stretch;
  justify-content: center;
}

.field-required-wrap .muted {
  margin: 0;
  font-size: 12px;
}

.visual-config-panel {
  border: 1px solid #eadfd6;
  border-radius: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fffaf8, #f8f6ff);
}

.visual-config-panel h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #4b3c33;
}

.visual-config-panel p {
  margin: 0;
  font-size: 13px;
  color: #6c5c53;
  line-height: 1.5;
}

.invitation-settings-form {
  gap: 16px;
}

.invitation-settings-form .visual-config-panel {
  margin-top: 4px;
  margin-bottom: -2px;
}

.invitation-settings-form .field-required-wrap {
  grid-column: 1 / -1;
  gap: 10px;
  border-color: #e7dbd1;
  background: linear-gradient(135deg, #fffaf7, #f8f5f1);
}

.invitation-settings-form .field-required-wrap .inline {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #eaded4;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  font-weight: 600;
}

.invitation-settings-form .muted.full {
  margin-top: -6px;
  margin-bottom: 2px;
}

.invitation-settings-form label.is-disabled {
  opacity: 0.56;
}

.required-switch {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.required-switch input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2f2a26;
}

[data-options-wrap].is-disabled {
  opacity: 0.55;
}

[data-options-wrap].is-disabled input {
  background: #f1ede9;
  cursor: not-allowed;
}

.invitation-field-item {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.invitation-field-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.invitation-field-item p {
  margin: 6px 0 0;
  color: #6c5c53;
  font-size: 13px;
}

.invitation-field-edit-form {
  align-items: end;
}

.invitation-field-actions {
  justify-content: flex-start;
}

.field-order-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.field-order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8dfd8;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  cursor: grab;
}

.field-order-item.is-dragging {
  opacity: 0.55;
}

.field-order-handle {
  color: #9b8c81;
  font-size: 16px;
  line-height: 1;
  user-select: none;
}

.field-order-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.field-order-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #d9cec5;
  background: #f8f4f1;
  color: #6d5d53;
}

.muted-tag {
  opacity: 0.85;
}

.field-order-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.field-order-actions .btn.small {
  padding: 5px 9px;
  font-size: 12px;
}

.modal {
  border: none;
  border-radius: 16px;
  padding: 20px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal::backdrop {
  background: rgba(20, 16, 12, 0.35);
}

.table-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.table-card {
  background: #f9f7f5;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.table-visual {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  border: 1px dashed #e3dcd5;
}

.table-visual-core {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3f6, #fdfbf8);
  box-shadow: inset 0 0 0 6px #f4e7e1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.table-seat-ring {
  position: absolute;
  inset: -8px;
  pointer-events: none;
}

.table-seat {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5dbd3;
  top: 50%;
  left: 50%;
  transform: rotate(calc(360deg / var(--seat-count) * var(--seat-index)))
    translate(86px);
}

.table-seat.seat-assigned {
  background: #3bbf7c;
  box-shadow: 0 0 6px rgba(59, 191, 124, 0.5);
}

.table-seat.seat-open {
  background: #f06a6a;
  box-shadow: 0 0 6px rgba(240, 106, 106, 0.45);
}

.table-number {
  font-size: 20px;
  font-weight: 700;
}

.table-nickname {
  font-size: 14px;
  color: #6c5c53;
}

.table-visual-seats,
.table-visual-preference {
  font-size: 13px;
  color: #6c5c53;
  margin-top: 6px;
}

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

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-guest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #eee1d8;
  font-size: 13px;
  color: #4b3c33;
}

.table-guest-title {
  width: 100%;
  font-weight: 600;
  color: #6c5c53;
}

.table-guest-name {
  background: #fff4f7;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #f0e2e7;
}

.table-capacity-warning {
  background: #fff3f0;
  color: #b94949;
  border: 1px solid #f1c9c9;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.guest-row-alert {
  background: #fff3f0;
}

.guest-row-adjusted {
  background: #fff7e6;
}

.adjusted-note {
  margin-top: 4px;
  font-size: 12px;
  color: #b26a00;
}

.field-error {
  margin-top: 6px;
  color: #b94949;
  font-size: 12px;
}

.print-body {
  background: #f7f5f2;
  padding: 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.print-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.table-print-page {
  background: linear-gradient(150deg, #fff8f9, #f8f4ff);
  border-radius: 18px;
  padding: 60px 40px;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  width: 210mm;
  height: 297mm;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  box-sizing: border-box;
}

.table-print-hero {
  margin-bottom: 32px;
}

.table-print-number {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 8px;
}

.table-print-nickname {
  font-size: 18px;
  color: #6c5c53;
}

.table-print-guest-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  color: #2f2a26;
}

.table-print-guest-name {
  letter-spacing: 1px;
}

.table-print-guest-empty {
  font-size: 16px;
  color: #9c8f85;
}

.page-break {
  page-break-after: always;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html,
  body {
    background: #ffffff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    height: 100%;
    width: 100%;
  }

  .print-actions,
  .top-bar {
    display: none !important;
  }

  .table-print-page {
    box-shadow: none;
    margin: 0;
    border-radius: 0;
    padding: 0;
    min-height: 0;
    width: 210mm;
    height: 297mm;
    background: linear-gradient(150deg, #fff8f9, #f8f4ff);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    display: flex;
    align-items: center;
    justify-content: center;
    page-break-after: always;
    break-after: page;
  }

  .print-body {
    padding: 0;
    min-height: 100%;
    background: #ffffff;
    margin: 0;
    align-items: stretch;
  }

  .table-print-hero {
    margin-bottom: 24px;
  }

  .page-break {
    page-break-after: always;
  }
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.seat-card {
  border-radius: 18px;
  padding: 0;
  background: linear-gradient(135deg, #fff5f7, #f3f5ff);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  min-height: 140px;
  cursor: pointer;
}

.seat-table {
  font-size: 14px;
  color: #8a7c71;
}

.seat-name {
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0;
}

.seat-note {
  font-size: 14px;
  color: #8a7c71;
}

.seat-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
}

.seat-panel + .seat-panel {
  border-left: 1px dashed rgba(138, 124, 113, 0.4);
}

.seat-panel-name .seat-name {
  font-size: 30px;
}

.seat-panel-center .seat-note {
  margin-top: 6px;
}

.seat-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  body {
    background: #fff;
  }

  .top-bar,
  .card,
  .seat-actions,
  .nav-links {
    display: none !important;
  }

  .container {
    padding: 0;
    max-width: none;
  }

  .seat-grid {
    display: block;
    margin: 0;
  }

  .seat-card {
    box-shadow: none;
    border-radius: 0;
    border: 1px solid #b8b0a6;
    height: 210mm;
    width: 297mm;
    page-break-after: always;
    break-after: page;
  }

  body.print-single .seat-card {
    display: none;
  }

  body.print-single .seat-card.seat-card-print {
    display: grid;
  }

  .seat-panel + .seat-panel {
    border-left: 1px dashed #b8b0a6;
  }

  .seat-name {
    font-size: 36px;
  }

  .seat-note {
    font-size: 16px;
  }

  .seat-table {
    font-size: 20px;
  }
}

.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(120deg, #f5d8e3, #f0f4ff);
}

.auth-card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  width: min(420px, 90vw);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.muted {
  color: #9c8f85;
}

.alert {
  background: #ffe5e5;
  color: #b94949;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}
