:root {
    --ink: #1d2146;
    --muted: #6d7682;
    --line: #dfe8e2;
    --field: #359957;
    --field-dark: #247a43;
    --accent: #56c87d;
    --surface: #ffffff;
    --soft: #f6faf8;
}

body {
    background: var(--soft);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 12%, rgba(86,200,125,.24), transparent 30%),
        radial-gradient(circle at 82% 4%, rgba(53,153,87,.16), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,250,248,1));
}

.app-nav {
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(16,32,26,.08);
    backdrop-filter: blur(12px);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--field), var(--accent));
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 8px 18px rgba(53,153,87,.22);
}

.turf-hero-logo {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 14px 30px rgba(53,153,87,.18);
}

.hero-band {
    padding: 48px 0 28px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
}

.hero-copy {
    max-width: 680px;
    color: #46524c;
    font-size: 1.05rem;
}

.booking-panel,
.admin-panel,
.toolbar-card {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(53,153,87,.12);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(9,45,30,.10);
}

.booking-panel {
    padding: 20px;
}

.booking-workspace {
    align-items: start;
}

.booking-toolbar {
    background: linear-gradient(180deg, #fff, #fbfcfa);
    border: 1px solid rgba(16,32,26,.08);
    border-radius: 8px;
    padding: 10px;
    box-shadow: inset 0 -1px 0 rgba(53,153,87,.06);
}

.booking-sidebar {
    display: grid;
    gap: 14px;
}

.toolbar-card {
    padding: 14px;
}

.admin-panel {
    padding: 18px;
}

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

.date-stepper {
    --date-control-height: 48px;
    display: grid;
    grid-template-columns: var(--date-control-height) minmax(180px, 1fr) var(--date-control-height);
    gap: 8px;
    align-items: center;
    max-width: 390px;
}

.date-stepper .form-control {
    height: var(--date-control-height);
    min-height: var(--date-control-height);
}

.date-stepper .btn {
    align-items: center;
    border-color: #cfdcd4;
    color: var(--field-dark);
    display: inline-flex;
    height: var(--date-control-height);
    justify-content: center;
    min-height: var(--date-control-height);
    padding-left: 0;
    padding-right: 0;
    width: var(--date-control-height);
}

.date-stepper .btn:hover,
.date-stepper .btn:focus {
    background: rgba(53,153,87,.10);
    border-color: var(--field);
    color: var(--field-dark);
}

.date-stepper .btn:disabled {
    background: #eef1ed;
    border-color: #dce5df;
    color: #a2ada6;
    opacity: 1;
    cursor: not-allowed;
}

.date-nav-btn::before {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    display: block;
    height: 11px;
    width: 11px;
}

.date-nav-prev::before {
    transform: rotate(-135deg);
}

.date-nav-next::before {
    transform: rotate(45deg);
}

.slot-card {
    min-height: 110px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    text-align: left;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.slot-card:not(:disabled):hover,
.slot-card.active {
    border-color: var(--field);
    box-shadow: 0 10px 24px rgba(53,153,87,.16);
    transform: translateY(-1px);
}

.slot-card:disabled {
    opacity: .55;
    background: #eef1ed;
}

.slot-time {
    font-weight: 800;
    display: block;
}

.slot-price {
    color: var(--field-dark);
    font-weight: 700;
}

.slot-state-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    margin-top: 10px;
    padding: 5px 10px;
}

.slot-state-available {
    background: rgba(53,153,87,.12);
    border: 1px solid rgba(53,153,87,.22);
    color: var(--field-dark);
}

.slot-state-booked {
    background: #fff3cd;
    border: 1px solid #f3d27a;
    color: #8a6500;
}

.slot-state-blocked {
    background: #f8d7da;
    border: 1px solid #efadb5;
    color: #842029;
}

.booking-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(112px, 1fr));
    gap: 6px;
    flex: 1 1 540px;
}

.step-pill {
    align-items: center;
    background: #f3f8f5;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #66756e;
    display: flex;
    font-size: .9rem;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    position: relative;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.step-pill span {
    align-items: center;
    background: rgba(109,118,130,.12);
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    height: 24px;
    justify-content: center;
    min-width: 24px;
}

.step-pill.active {
    background: #fff;
    box-shadow: 0 8px 22px rgba(53,153,87,.14);
    color: var(--field-dark);
    border-color: var(--field);
}

.step-pill.active span {
    background: var(--field);
    color: #fff;
}

.summary-box {
    background: #f8faf6;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
}

.form-stage {
    background: #fff;
    border: 1px solid rgba(16,32,26,.10);
    border-radius: 8px;
    padding: 16px;
}

.form-stage-muted {
    background: #fbfcfa;
}

.form-stage-title {
    color: #25342d;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.form-label {
    color: #2a3b32;
    font-weight: 700;
}

.form-control,
.form-select {
    border-color: #d8e2dc;
    border-radius: 8px;
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--field);
    box-shadow: 0 0 0 .22rem rgba(53,153,87,.14);
}

textarea.form-control {
    min-height: 104px;
}

.form-text {
    color: #6c7771;
}

.booking-actions {
    display: grid;
    gap: 8px;
}

.admin-panel.row {
    margin-left: 0;
    margin-right: 0;
}

.admin-panel .btn,
.toolbar-card .btn {
    min-height: 42px;
}

.btn-primary {
    --bs-btn-bg: var(--field);
    --bs-btn-border-color: var(--field);
    --bs-btn-hover-bg: var(--field-dark);
    --bs-btn-hover-border-color: var(--field-dark);
}

.btn-warning {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
}

.table thead th {
    color: #607067;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.status-badge {
    border-radius: 999px;
    padding: .35rem .6rem;
    font-weight: 700;
    font-size: .78rem;
}

.status-pending_otp { background: #fff3cd; color: #8a6500; }
.status-payment_pending { background: #dff3ff; color: #075985; }
.status-payment_verification { background: #ede9fe; color: #5b21b6; }
.status-confirmed { background: #d8f3dc; color: #166534; }
.status-rejected,
.status-cancelled { background: #f8d7da; color: #842029; }

.sidebar {
    background: linear-gradient(180deg, #1d2146, #247a43);
    min-height: 100vh;
}

.sidebar a {
    color: rgba(255,255,255,.76);
    border-radius: 8px;
    display: block;
    padding: 10px 12px;
    text-decoration: none;
}

.sidebar a.active,
.sidebar a:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
}

@media (max-width: 767px) {
    .sidebar {
        min-height: auto;
    }

    .hero-band {
        padding-top: 28px;
    }
}

@media (max-width: 575px) {
    .booking-panel {
        padding: 14px;
    }

    .booking-toolbar {
        padding: 12px;
    }

    .date-stepper {
        --date-control-height: 46px;
        grid-template-columns: var(--date-control-height) minmax(0, 1fr) var(--date-control-height);
        max-width: 100%;
    }

    .booking-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .step-pill {
        text-align: center;
        padding: 8px;
    }

    .form-stage {
        padding: 14px;
    }

    .btn-lg {
        --bs-btn-padding-y: .65rem;
        --bs-btn-font-size: 1rem;
    }
}
