:root {
    --brand: #0b6e99;
    --ok: #1b7e3c;
    --warn: #b15c00;
    --bad: #b00020;
    --ink: #1c2530;
    --muted: #6b7785;
    --line: #e2e8f0;
}

* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    margin: 0;
    background: #f6f8fa;
    line-height: 1.45;
}

header {
    background: var(--brand);
    color: #fff;
    padding: 14px 24px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

header a { color: #fff; text-decoration: none; }
header .brand { font-weight: 700; font-size: 1.2rem; }
header nav { margin-left: auto; font-size: .9rem; }

main { max-width: 920px; margin: 24px auto; padding: 0 16px; }

h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; margin-top: 0; }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
}

label { display: block; font-size: .85rem; color: var(--muted); margin: 8px 0 2px; }
input, select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: .95rem;
}

.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > div { flex: 1; min-width: 160px; }

button, .btn {
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: .95rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
button.secondary, .btn.secondary { background: #51606f; }

.price { font-weight: 700; font-size: 1.2rem; color: var(--brand); }
.muted { color: var(--muted); font-size: .85rem; }

.warn { background: #fff6e8; border: 1px solid #f0d49b; color: var(--warn); padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; }
.field-error { color: var(--bad); font-size: .8rem; margin-top: 2px; }

table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .9rem; }
th { color: var(--muted); font-weight: 600; }

.status { font-weight: 700; padding: 2px 8px; border-radius: 999px; font-size: .78rem; }
.status.CONFIRMED { background: #e3f6e9; color: var(--ok); }
.status.RESERVING, .status.INITIATED { background: #e8f1f8; color: var(--brand); }
.status.FAILED, .status.ROLLED_BACK { background: #fde8ec; color: var(--bad); }
