@import url("./theme.css");

body {
  margin: 0;
  font-family: var(--font-body, system-ui, sans-serif);
  background: var(--color-bg, #0b0e14);
  color: var(--color-text, #e8e8e8);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.card {
  background: var(--color-surface, #151a24);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--color-border, #2a3140);
  background: var(--color-input-bg, #0f131b);
  color: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-accent, #6ee7ff);
  color: #05070a;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

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

.step {
  display: none;
}

.step.active {
  display: block;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-accent, #6ee7ff);
  color: #05070a;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  min-width: 720px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--color-border, #2a3140);
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-confirmed {
  background: #1f4d2f;
  color: #7be3a0;
}

.badge-pending {
  background: #4d3f1f;
  color: #e3c37b;
}
