/* Airbnb-inspired renter / booking flow — minimal chrome, generous whitespace */

.booking-flow-shell {
    width: min(720px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 32px 0 56px;
}

.booking-flow-title {
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}

.booking-flow-h1 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}

.booking-flow-lead {
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
}

.booking-flow-meta {
    margin: 0 0 20px;
    font-size: 0.95rem;
    color: #6b7280;
}

.booking-kicker {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f766e;
}

.booking-track {
    margin-bottom: 18px;
}

.booking-track-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.booking-track-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.booking-track-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
}

.booking-track-list .is-done {
    color: #0f766e;
}

.booking-track-list .is-done .booking-track-dot {
    background: #0f766e;
}

.booking-track-list .is-current {
    color: #111827;
}

.booking-track-list .is-current .booking-track-dot {
    background: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25);
}

.air-panel {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    padding: 28px 28px 32px;
    box-shadow: 0 12px 40px rgba(17, 24, 39, 0.06);
}

.booking-date-dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 14px;
}

.booking-date-dl dt {
    margin: 0 0 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.booking-date-dl dd {
    margin: 0;
    font-weight: 600;
    color: #111827;
}

.booking-flow-note {
    margin: 0 0 24px;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.55;
}

.booking-discount-note {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 4px;
    font-size: 0.88rem;
    color: #0f766e;
    font-weight: 600;
}

.booking-breakdown {
    margin: 0 0 24px;
    display: grid;
    gap: 10px;
    font-size: 0.92rem;
}

.booking-breakdown div {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
}

.booking-breakdown dt {
    margin: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #d1d5db;
}

.booking-breakdown dd {
    margin: 0;
    color: #111827;
    font-weight: 600;
}

.booking-total {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
}

.booking-total dt,
.booking-total dd {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

.booking-flow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.air-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.air-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.air-btn-primary {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: #fff;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.18);
}

.air-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.22);
}

.air-btn-ghost {
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.air-btn-ghost:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.booking-checklist {
    margin: 0 0 24px;
    padding-left: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
}

.booking-checklist li {
    margin-bottom: 8px;
}

.booking-pay-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .booking-pay-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }
}

.booking-pay-summary-title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.booking-pay-summary-ref,
.booking-pay-summary-dates {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.booking-pay-deadline {
    margin: 1rem 0 0;
    font-size: 0.8125rem;
    color: #b45309;
}

.booking-pay-next-charge {
    margin: 1rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.booking-pay-error {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.875rem;
}

.booking-pay-element {
    min-height: 120px;
}

.booking-pay-success {
    padding: 1rem 0;
}

.booking-pay-success p {
    margin: 0 0 1rem;
    color: #0f766e;
}

.res-mini-card-foot-link--cta {
    font-weight: 600;
    color: #0f766e;
}

.booking-pay-placeholder {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.booking-pay-placeholder span {
    flex: 1;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f3f4f6, #e5e7eb, #f3f4f6);
    background-size: 200% 100%;
    animation: booking-shimmer 1.4s ease-in-out infinite;
}

@keyframes booking-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Reservations empty state */
.res-empty-card {
    text-align: center;
    padding: 40px 28px 36px;
}

.res-empty-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.res-empty-visual svg {
    width: 120px;
    height: auto;
}

.res-empty-heading {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.res-empty-copy {
    margin: 0 auto 24px;
    max-width: 28rem;
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ─── Reservations list ──────────────────────────────────────────────────── */

.res-flash {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.res-flash--success {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #134e4a;
}

.res-flash--error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.res-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.res-card {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.09);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.04);
}

.res-card--muted {
    opacity: 0.72;
}

.res-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.res-card-title {
    margin: 0 0 3px;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.res-card-title a {
    color: inherit;
    text-decoration: none;
}

.res-card-title a:hover {
    text-decoration: underline;
}

.res-card-ref {
    margin: 0;
    font-size: 0.8rem;
    color: #9ca3af;
}

.res-card-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    margin: 0 0 12px;
}

.res-card-meta dt {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 2px;
}

.res-card-meta dd {
    margin: 0;
    font-size: 0.88rem;
    color: #374151;
}

.res-card-total {
    font-weight: 700;
    color: #111827;
}

.res-card-note {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.res-card-note a {
    color: #0f766e;
    text-decoration: underline;
}

.res-card-note--positive {
    color: #0f766e;
}

/* Status badges */
.res-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.res-badge--pending   { background: #fefce8; color: #854d0e; }
.res-badge--accepted  { background: #f0fdfa; color: #0f766e; }
.res-badge--confirmed { background: #ecfdf5; color: #065f46; }
.res-badge--active    { background: #eff6ff; color: #1d4ed8; }
.res-badge--completed { background: #f9fafb; color: #374151; }
.res-badge--declined  { background: #fff1f2; color: #9f1239; }
.res-badge--cancelled { background: #f9fafb; color: #6b7280; }

@media (max-width: 480px) {
    .res-card-meta {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Stay summary (short vs long-term) ─────────────────────────────────────── */

.stay-summary--long {
    margin: 0 0 4px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fafc 0%, #f0fdfa 100%);
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.stay-summary--long.is-compact {
    padding: 12px;
    margin-top: 8px;
}

.stay-summary-hero {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}

.stay-summary-price {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #134e4a;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stay-summary--long.is-compact .stay-summary-price {
    font-size: 1.2rem;
}

.stay-summary-price span {
    font-size: 0.82rem;
    font-weight: 500;
    color: #0f766e;
    margin-left: 2px;
}

.stay-summary-tag {
    margin: 4px 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f766e;
    opacity: 0.85;
}

.stay-summary-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stay-summary-step {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 12px;
    padding: 10px 0;
    position: relative;
}

.stay-summary-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 22px;
    bottom: -2px;
    width: 2px;
    background: linear-gradient(180deg, #99f6e4 0%, rgba(153, 246, 228, 0.2) 100%);
}

.stay-summary-step-dot {
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-radius: 50%;
    background: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
    flex-shrink: 0;
}

.stay-summary-step-dot--soft {
    background: #fff;
    border: 2px solid #5eead4;
    box-shadow: none;
}

.stay-summary-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    margin-bottom: 2px;
}

.stay-summary-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #111827;
}

.stay-summary-step--ceiling .stay-summary-value {
    color: #0f766e;
}

.stay-summary-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.78rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.45;
}

.stay-summary-extend {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(15, 118, 110, 0.25);
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.45;
}

.stay-summary-extend svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #0f766e;
}

.stay-summary-extend strong {
    font-weight: 600;
    color: #134e4a;
}

.stay-summary--long.is-compact .stay-summary-extend {
    font-size: 0.72rem;
    padding: 8px 10px;
}

.stay-summary--long.is-compact .stay-summary-step {
    padding: 7px 0;
}

.stay-summary--long.is-compact .stay-summary-hint {
    font-size: 0.72rem;
}

/* Short-term grid */
.stay-summary--short {
    margin: 0;
}

.stay-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    margin: 0;
}

.stay-summary--short.is-compact .stay-summary-grid {
    gap: 8px 12px;
}

.stay-summary-grid dt {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 2px;
}

.stay-summary-grid dd {
    margin: 0;
    font-size: 0.88rem;
    color: #374151;
}

.stay-summary-total {
    font-weight: 700;
    color: #111827 !important;
}

.res-card .stay-summary--long {
    margin-top: 4px;
    margin-bottom: 12px;
}

.bk-active-status .stay-summary--long {
    margin-top: 6px;
    margin-bottom: 8px;
}

/* ─── Reservations hub — tabs, compact cards, pagination ─────────────────────── */

.res-hub {
    max-width: 920px;
}

.res-hub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.res-hub-head .booking-flow-title {
    margin: 0;
}

.res-hub-cta {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
    white-space: nowrap;
}

.res-hub-cta:hover {
    text-decoration: underline;
}

.res-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    padding: 4px;
    background: #f3f4f6;
    border-radius: 12px;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
}

.res-tabs-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.res-tabs-item:hover {
    color: #374151;
    background: rgba(255, 255, 255, 0.6);
}

.res-tabs-item.is-active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.res-tabs-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #e5e7eb;
    color: #4b5563;
}

.res-tabs-item.is-active .res-tabs-count {
    background: #ecfdf5;
    color: #0f766e;
}

.res-tab-empty {
    padding: 32px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    background: #fff;
    border: 1px dashed #e5e7eb;
    border-radius: 14px;
}

.res-tab-empty a {
    display: inline-block;
    margin-top: 8px;
    color: #0f766e;
    font-weight: 600;
}

.res-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .res-mini-grid {
        grid-template-columns: 1fr;
    }

    .res-hub-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .res-tabs {
        width: 100%;
    }
}

.res-mini-card {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.res-mini-card:hover {
    border-color: rgba(15, 118, 110, 0.25);
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.08);
}

.res-mini-card--muted {
    opacity: 0.82;
}

.res-mini-card-link {
    display: block;
    padding: 14px 14px 10px;
    text-decoration: none;
    color: inherit;
}

.res-mini-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.res-mini-card-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.res-mini-badge {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.res-mini-badge--pending   { background: #fefce8; color: #854d0e; }
.res-mini-badge--accepted  { background: #f0fdfa; color: #0f766e; }
.res-mini-badge--confirmed { background: #ecfdf5; color: #065f46; }
.res-mini-badge--active    { background: #eff6ff; color: #1d4ed8; }
.res-mini-badge--completed { background: #f9fafb; color: #374151; }
.res-mini-badge--declined  { background: #fff1f2; color: #9f1239; }
.res-mini-badge--expired   { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.res-mini-badge--cancelled { background: #f3f4f6; color: #6b7280; }

.res-mini-card-meta {
    margin: 0 0 6px;
    font-size: 0.72rem;
    color: #9ca3af;
}

.res-mini-card-dates {
    margin: 0 0 8px;
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.35;
}

.res-mini-card-price {
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    color: #374151;
}

.res-mini-card-price strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #134e4a;
}

.res-mini-card-tag {
    font-size: 0.68rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.res-mini-card-foot {
    margin: 0;
    padding: 8px 14px 10px;
    border-top: 1px solid #f3f4f6;
    font-size: 0.75rem;
    color: #6b7280;
}

.res-mini-card-foot a,
.res-mini-card-foot-link {
    color: #0f766e;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
}

.res-mini-card-foot a:hover,
.res-mini-card-foot-link:hover {
    text-decoration: underline;
}

.res-mini-card-foot--positive {
    color: #0f766e;
}

.res-mini-card-foot--actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.res-mini-card-foot-note {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.res-mini-withdraw-btn {
    flex-shrink: 0;
    margin-top: 0;
}

.res-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.res-page-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.res-page-btn:hover:not(.is-disabled) {
    border-color: #0f766e;
    color: #0f766e;
    background: #f0fdfa;
}

.res-page-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.res-page-status {
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 500;
}

/* ─── Booking request page — form fields ────────────────────────────────────── */

.booking-request-form {
    display: flex;
    flex-direction: column;
}

.booking-field {
    margin-bottom: 24px;
}

.booking-field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.01em;
}

.booking-field-optional {
    font-weight: 400;
    color: #9ca3af;
}

.bk-field-hint {
    margin: -4px 0 8px;
    font-size: 0.82rem;
    color: #9ca3af;
    line-height: 1.45;
}

.booking-date-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.booking-date-input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.booking-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #111827;
    background: #fff;
    resize: vertical;
    transition: border-color 0.15s;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.55;
}

.booking-textarea:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

/* ─── Type toggle (Short-term / Long-term) ────────────────────────────────── */

.bk-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
}

.bk-type-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.bk-type-btn:hover:not(.is-active) {
    border-color: #d1d5db;
    background: #fafafa;
}

.bk-type-btn.is-active {
    border-color: #0f766e;
    background: #f0fdfa;
    box-shadow: 0 0 0 1px #0f766e;
}

.bk-type-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.bk-type-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 2px;
}

.bk-type-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #0f766e;
    background: #ecfdf5;
}

.bk-type-btn.is-active .bk-type-badge {
    background: #ccfbf1;
}

.bk-type-btn.is-active .bk-type-title {
    color: #0f766e;
}

.bk-type-hint {
    display: block;
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 500;
}

/* ─── Type panels ─────────────────────────────────────────────────────────── */

.bk-type-panel {
    padding-top: 4px;
}

/* ─── Week pills (short-term) ─────────────────────────────────────────────── */

.booking-pills {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

/* Short-term: 4 weeks in one row (2×2 on narrow screens) */
.booking-pills--weeks {
    grid-template-columns: repeat(4, 1fr);
}

/* Long-term: 5 month pills — 3 centred on row 1, 2 centred on row 2 */
.booking-pills--months {
    grid-template-columns: repeat(6, 1fr);
    margin-bottom: 10px;
}

.booking-pills--months .booking-pill {
    grid-column: span 2;
}

.booking-pills--months .booking-pill:nth-child(4) {
    grid-column: 2 / span 2;
}

.booking-pills--months .booking-pill:nth-child(5) {
    grid-column: 4 / span 2;
}

.booking-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 8px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.booking-pill-label {
    line-height: 1.15;
    white-space: nowrap;
}

.booking-pill-badge {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #0f766e;
    background: #ecfdf5;
}

.booking-pill.is-selected .booking-pill-badge {
    color: #0f766e;
    background: #ccfbf1;
}

.booking-pill:hover:not(.is-selected) {
    border-color: #d1d5db;
    background: #fafafa;
}

.booking-pill.is-selected {
    border-color: #0f766e;
    background: #f0fdfa;
    color: #0f766e;
    box-shadow: 0 0 0 1px #0f766e;
}

/* ─── Date result display ─────────────────────────────────────────────────── */

.booking-date-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #f9fafb;
    border-radius: 12px;
}

.booking-date-result dt {
    margin: 0 0 3px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.booking-date-result dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
}

/* Short-term breakdown wrapper */
.bk-st-quote {
    margin-top: 4px;
}


/* ─── Long-term estimate cards ────────────────────────────────────────────── */

.bk-estimate-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.bk-estimate-card {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.bk-estimate-card:hover:not(.is-selected) {
    border-color: #d1d5db;
    background: #fafafa;
}

.bk-estimate-card.is-selected {
    border-color: #0f766e;
    background: #f0fdfa;
    box-shadow: 0 0 0 1px #0f766e;
}

.bk-estimate-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.bk-estimate-card.is-selected .bk-estimate-label {
    color: #0f766e;
}

.bk-estimate-hint {
    font-size: 0.72rem;
    color: #9ca3af;
    font-weight: 500;
}

.bk-estimate-cards {
    grid-template-columns: repeat(2, 1fr);
}

.bk-estimate-card.is-unavailable,
.booking-pill.is-unavailable {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.bk-estimate-card.is-unavailable .bk-estimate-hint::after {
    content: ' · not available';
    color: #ef4444;
}

.bk-type-btn.is-unavailable {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.bk-type-btn.is-unavailable .bk-type-hint::after {
    content: ' · not available';
    color: #ef4444;
    font-size: 0.72rem;
}

.bk-estimate-card.is-open {
    border-style: dashed;
}

.bk-estimate-card.is-open.is-selected {
    border-style: solid;
}

/* ─── Long-term pricing table ─────────────────────────────────────────────── */

.bk-lt-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 6px;
    font-size: 0.88rem;
}

.bk-lt-table td {
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.bk-lt-table tr:last-child td {
    border-bottom: none;
}

.bk-lt-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.bk-lt-table-note {
    margin: 0 0 10px;
    font-size: 0.78rem;
    color: #9ca3af;
    line-height: 1.4;
}

.bk-lt-notices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 14px;
}

.bk-extend-banner {
    margin-bottom: 1.25rem;
}

.bk-lt-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
}

.bk-lt-notice > div {
    min-width: 0;
    flex: 1;
}

.bk-lt-notice[hidden] {
    display: none !important;
}

.bk-lt-notice--tip {
    background: #fafafa;
    border: 1px dashed #d1d5db;
}

.bk-lt-notice svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: #0f766e;
}

.bk-lt-notice--tip svg {
    color: #64748b;
}

.bk-lt-notice-title {
    margin: 0 0 3px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #134e4a;
    line-height: 1.3;
}

.bk-lt-notice--tip .bk-lt-notice-title {
    color: #334155;
}

.bk-lt-notice-body {
    margin: 0;
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.5;
}

.bk-lt-notice-body strong {
    font-weight: 600;
    color: #134e4a;
}

.bk-lt-notice--tip .bk-lt-notice-body strong {
    color: #0f766e;
}

.bk-discount-tag {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: #ecfdf5;
    color: #0f766e;
    vertical-align: middle;
}

.bk-discount-tag[hidden] {
    display: none !important;
}

.bk-per-mo {
    font-size: 0.72rem;
    font-weight: 500;
    color: #9ca3af;
}

.bk-per-once {
    font-size: 0.72rem;
    font-weight: 500;
    color: #9ca3af;
}

.bk-st-row.is-active td {
    color: #0f766e;
}

.bk-st-row.is-active td:last-child {
    color: #0f766e;
}

/* ─── Long-term simple summary (no discounts) ────────────────────────────── */

.bk-lt-simple {
    margin-bottom: 10px;
}

.bk-lt-simple-price {
    margin: 0 0 3px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.bk-lt-simple-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6b7280;
    margin-left: 1px;
}

.bk-lt-simple-note {
    margin: 0;
    font-size: 0.78rem;
    color: #9ca3af;
    line-height: 1.4;
}

/* ─── Long-term footnote ──────────────────────────────────────────────────── */

.booking-date-result--lt {
    margin-bottom: 10px;
}

/* ─── Error block ─────────────────────────────────────────────────────────── */

.booking-flow-errors {
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid #fca5a5;
    border-radius: 12px;
    background: #fff1f2;
    font-size: 0.88rem;
    color: #9f1239;
}

.booking-flow-errors ul {
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
}

/* ─── Request page — tighter spacing ─────────────────────────────────────── */

.booking-request-card.air-panel {
    padding: 20px 20px 24px;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.05);
}

.booking-request-card .booking-flow-h1 {
    margin-bottom: 4px;
}

.booking-request-card .booking-flow-meta {
    margin-bottom: 12px;
}

.booking-request-card .booking-field {
    margin-bottom: 14px;
}

.booking-request-card .booking-field-label {
    margin-bottom: 4px;
}

.booking-request-card .bk-field-hint {
    margin: 0 0 6px;
}

.booking-request-card .bk-type-toggle {
    gap: 8px;
}

.booking-request-card .bk-type-btn {
    padding: 10px 14px;
    border-radius: 12px;
}

.booking-request-card .bk-type-panel {
    padding-top: 0;
}

.booking-request-card .booking-pills {
    margin-bottom: 10px;
    gap: 6px;
}

.booking-request-card .booking-date-result {
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 12px;
}

.booking-request-card .booking-breakdown {
    margin-bottom: 12px;
    gap: 8px;
}

.booking-request-card .bk-estimate-cards {
    gap: 7px;
}

.booking-request-card .bk-lt-table td {
    padding: 6px 0;
}

.booking-request-card .booking-flow-actions {
    margin-top: 4px;
}

.booking-lt-disclaimer {
    margin: 14px 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #9ca3af;
    text-align: center;
}

.booking-lt-disclaimer strong {
    color: #6b7280;
    font-weight: 600;
}

.booking-lt-disclaimer[hidden] {
    display: none !important;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .booking-flow-shell {
        width: min(720px, calc(100vw - 24px));
        padding: 16px 0 40px;
    }

    .booking-track {
        margin-bottom: 14px;
    }

    .bk-type-toggle {
        gap: 8px;
    }

    .bk-type-btn {
        padding: 10px 12px;
    }

    .booking-pills {
        gap: 7px;
    }

    .booking-pills--weeks {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-pill {
        padding: 9px 6px;
        font-size: 0.84rem;
    }

    .booking-flow-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 12px;
    }

    .booking-flow-actions .air-btn {
        width: 100%;
        min-height: 48px;
    }

    .booking-request-card.air-panel {
        padding: 16px 16px 20px;
        border-radius: 16px;
    }

    .booking-request-card .booking-field {
        margin-bottom: 12px;
    }
}

/* ─── Calendar conflict (request page) ───────────────────────────────────── */

.booking-calendar-conflict {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.booking-calendar-conflict-title {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #991b1b;
}

.booking-calendar-conflict-body {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #b91c1c;
}

.booking-waitlist-form {
    margin-top: 12px;
}

.bk-occupied-status .booking-waitlist-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.booking-waitlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #0d9488;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.booking-waitlist-btn:hover {
    background: #ccfbf1;
    border-color: #0f766e;
}

.booking-waitlist-btn svg {
    flex-shrink: 0;
}

.booking-waitlist-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.booking-waitlist-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    color: #0f766e;
}

.booking-waitlist-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.booking-waitlist-btn--block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.booking-flow-actions button[type="submit"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ─── Listing detail — occupied / active booking ─────────────────────────── */

.bk-occupied-status {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bk-occupied-status .booking-submit--future,
.bk-active-status .booking-submit--future {
    margin-top: 4px;
    text-align: center;
}

.bk-occupied-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    margin: 0;
    background: #f3f4f6;
    color: #4b5563;
}

.bk-active-status {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bk-active-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    margin: 0;
}

.bk-active-badge--pending  { background: #fefce8; color: #854d0e; }
.bk-active-badge--accepted { background: #f0fdfa; color: #0f766e; }
.bk-active-badge--active   { background: #eff6ff; color: #1d4ed8; }

.bk-active-dates {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
}

.bk-active-ref {
    margin: 0;
    font-size: 0.75rem;
    color: #9ca3af;
}

.bk-active-note {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
}

.bk-active-note--positive {
    color: #0f766e;
}

.bk-withdraw-btn {
    margin-top: 4px;
    padding: 0;
    background: none;
    border: none;
    font-size: 0.8rem;
    color: #9ca3af;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bk-withdraw-btn:hover {
    color: #6b7280;
}

/* Withdraw dialog */
.bk-withdraw-dialog {
    border: none;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    max-width: 360px;
    width: calc(100% - 32px);
}

.bk-withdraw-dialog::backdrop {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
}

.bk-withdraw-dialog-inner {
    padding: 28px 24px 20px;
}

.bk-withdraw-dialog-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.bk-withdraw-dialog-body {
    margin: 0 0 24px;
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.5;
}

.bk-withdraw-dialog-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bk-withdraw-confirm-btn {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    border: none;
    background: #111827;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.bk-withdraw-confirm-btn:hover {
    background: #1f2937;
}

.bk-withdraw-cancel-btn {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.bk-withdraw-cancel-btn:hover {
    background: #f9fafb;
}

/* ─── Listing detail — simplified booking card ────────────────────────────── */
.listing-detail .booking-card {
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 16px 48px rgba(17, 24, 39, 0.08);
}

.listing-detail .booking-submit {
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 20px;
}
