:root {
    --ink: #193124;
    --green: #135725;
    --paper: #f4f7f4;
    --line: #e1e9e2;
    --muted: #66756b;
    --gold: #739b79;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(ellipse at 80% 0%, #e2eee2 0%, transparent 45%), var(--paper);
    -webkit-font-smoothing: antialiased;
}

header {
    padding: 18px max(24px, calc((100vw - 1200px) / 2));
    background: #ffffffed;
    border-bottom: 1px solid var(--line);
}

.brand img { height: 72px; width: auto; }
.brand small { font-size: 8px; letter-spacing: 1.5px; color: var(--muted); }
header > a:last-child:not(.brand) {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: white;
}

main { max-width: 1240px; margin: 40px auto; padding: 0 24px; }
.booking { max-width: 850px; margin-top: 52px; }
h1, h2, h3 { font-family: inherit; font-weight: 650; }
h1 { color: var(--green); font-size: clamp(38px, 7vw, 64px); letter-spacing: -2.5px; line-height: 1.08; }
h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.7px; }
h3 { font-size: 17px; letter-spacing: -.2px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.intro { font-size: 17px; line-height: 1.7; max-width: 560px; }

.card {
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 36px #19312406;
    padding: 30px;
    margin: 22px 0;
}
.steps { gap: 8px; margin: 32px 0 24px; }
.steps li { border: 0; border-radius: 12px; background: #e8eee8; padding: 13px 16px; font-size: 13px; }
.steps li.active { background: var(--green); color: white; }

label { font-size: 13px; font-weight: 600; margin: 16px 0; }
input, select, textarea {
    font-family: inherit;
    border-color: #d7e2d8;
    border-radius: 11px;
    background: #fafcf9;
    padding: 14px;
    margin-top: 8px;
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); background: white; box-shadow: 0 0 0 3px #13572512; outline: none; }
input[type=radio], input[type=checkbox] { accent-color: var(--green); }
textarea { resize: vertical; }
button, .button {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    min-height: 46px;
    padding: 13px 20px;
    border-radius: 11px;
    transition: background .15s, box-shadow .15s;
}
button:hover, .button:hover { filter: none; box-shadow: 0 4px 12px #13572516; }
.secondary { background: #edf3ed; color: var(--green); }
.actions { gap: 12px; padding-top: 8px; }
.choice { gap: 12px; }
.choice label { border-radius: 14px; padding: 20px 16px; background: #fafcf9; font-size: 14px; transition: border-color .15s; }
.choice label:has(input:checked) { border-color: var(--green); background: #edf5ed; color: var(--green); }
.slots { gap: 10px; }
.slots button { min-width: 80px; background: white; border-color: var(--line); font-weight: 500; }
.slots button.selected { border-color: var(--green); font-weight: 650; box-shadow: 0 3px 10px #13572518; }
.error { border: 1px solid #efd4d1; background: #fff4f2; border-radius: 12px; padding: 16px 20px; font-size: 14px; }

nav { gap: 6px; padding: 6px; background: #e8eee8; border-radius: 15px; }
nav button { background: transparent; color: var(--muted); border-radius: 10px; }
nav button.selected { background: white; color: var(--green); box-shadow: 0 2px 7px #19312409; }
nav #logout { margin-left: auto; }
.settings-tabs { border: 0; background: white; border-radius: 15px; padding: 6px; gap: 4px; box-shadow: 0 0 0 1px var(--line); }
.settings-tabs button { border: 0; background: transparent; color: var(--muted); border-radius: 10px; font-size: 13px; }
.settings-tabs button[aria-selected=true] { background: var(--green); color: white; }
.toolbar h2 { margin: 0 auto 0 0; }
.toolbar input { margin: 0; padding: 10px 14px; }
.stats { gap: 16px; margin: 26px 0; }
.stat { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; font-size: 13px; color: var(--muted); }
.stat strong { font: 650 38px/1.3 system-ui, sans-serif; color: var(--green); letter-spacing: -1px; margin-bottom: 4px; }
.badge { padding: 6px 10px; border-radius: 100px; background: #edf4ec; color: var(--green); font-weight: 600; }

.dt-container { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.dt-container .dt-info { font-size: 12px; color: var(--muted); }
.dt-container .dt-search input, .dt-container .dt-length select { border: 1px solid #d7e2d8; border-radius: 9px; background: #fafcf9; }
.dt-container .dt-search label, .dt-container .dt-length label { font-size: 12px; color: var(--muted); }
.gastly-table { font-size: 13px; border-collapse: collapse; }
.gastly-table thead th { background: #f3f7f2; color: var(--muted); font-size: 12px; font-weight: 650; padding: 14px!important; border-color: var(--line)!important; }
.gastly-table tbody td { padding: 15px 14px!important; border-color: var(--line)!important; }
table.dataTable > tbody > tr > * { box-shadow: none!important; }
table.dataTable > tbody > tr:hover > * { background: #f8fbf6; }
.dt-container .dt-paging button.dt-paging-button { border-radius: 9px; font-size: 12px; }
.datatable-details summary { font-size: 12px; font-weight: 600; }
.datatable-details .card { background: transparent; box-shadow: none; border: 0; padding: 0; }
.inline-form { border-radius: 14px; padding: 20px; background: #f6f9f4; }
.product { gap: 18px; padding: 20px 0; }
.product input { text-align: center; }
.product-description { font-size: 13px; line-height: 1.65; }
#order-total { padding: 18px 20px; border-radius: 13px; background: #edf5ed; color: var(--green); }
footer { font-size: 12px; line-height: 1.9; padding: 40px 24px; }

@media(min-width: 640px) { .card { padding: 36px; } }
@media(max-width: 639px) {
    header { padding: 14px 20px; }
    .brand img { height: 58px; width: auto; }
    main { padding: 0 16px; margin-top: 28px; }
    .booking { margin-top: 32px; }
    h1 { letter-spacing: -1.5px; }
    .card { padding: 22px 18px; border-radius: 18px; }
    .steps li { font-size: 11px; padding: 12px 8px; text-align: center; }
    .choice label { font-size: 12px; padding: 16px 10px; }
    .actions { flex-wrap: wrap; }
    .actions > button { flex: 1; }
    .stats { gap: 10px; }
    .stat { padding: 16px; }
    .stat strong { font-size: 32px; }
    nav { border-radius: 13px; }
    nav button { flex: 1 1 auto; padding: 10px 12px; font-size: 12px; }
    nav #logout { margin-left: 0; }
    .dt-container { padding: 12px; border-radius: 14px; }
    .card .dt-container { margin-left: 0; margin-right: 0; }
    .dt-container .dt-search input { margin-left: 6px; max-width: 185px; }
}
@media(prefers-reduced-motion: reduce) { * { transition: none!important; } }
