/* Prevent horizontal scroll */
body { overflow-x: hidden; }

/* CI Booking — Public & Manager Styles */
:root {
    --cib-primary: #0ea5e9;
    --cib-primary-dark: #0284c7;
    --cib-primary-light: #e0f2fe;
    --cib-teal: #14b8a6;
    --cib-green: #10b981;
    --cib-amber: #f59e0b;
    --cib-red: #ef4444;
    --cib-neutral-50: #f8fafc;
    --cib-neutral-100: #f1f5f9;
    --cib-neutral-200: #e2e8f0;
    --cib-neutral-300: #cbd5e1;
    --cib-neutral-500: #64748b;
    --cib-neutral-700: #334155;
    --cib-neutral-900: #0f172a;
    --cib-radius-sm: 6px;
    --cib-radius: 12px;
    --cib-radius-lg: 16px;
    --cib-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --cib-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --cib-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --cib-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.cib-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--cib-radius-sm);
    font-size: 18px;
    font-weight: 500;
    font-family: var(--cib-font);
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all .15s ease;
    line-height: 1;
}
.cib-btn--primary { background: var(--cib-primary); color: #fff; border-color: var(--cib-primary); }
.cib-btn--primary:hover { background: var(--cib-primary-dark); border-color: var(--cib-primary-dark); color: #fff; }
.cib-btn--outline { background: transparent; color: var(--cib-primary); border-color: var(--cib-primary); }
.cib-btn--outline:hover { background: var(--cib-primary-light); }
.cib-btn--ghost { background: transparent; color: var(--cib-neutral-500); border-color: var(--cib-neutral-200); }
.cib-btn--ghost:hover { background: var(--cib-neutral-100); }
.cib-btn--danger { background: transparent; color: var(--cib-red); border-color: #fecaca; }
.cib-btn--danger:hover { background: #fee2e2; }
.cib-btn--full { width: 100%; }
.cib-btn--lg { padding: 14px 24px; font-size: 20px; border-radius: var(--cib-radius-sm); }
.cib-btn--sm { padding: 6px 12px; font-size: 15px; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.cib-badge { display:inline-block; padding:2px 8px; border-radius:9999px; font-size: 14px; font-weight:600; }
.cib-badge--green  { background:#d1fae5; color:#065f46; border:1px solid #6ee7b7; }
.cib-badge--amber  { background:#fef3c7; color:#92400e; border:1px solid #fcd34d; }
.cib-badge--red    { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }
.cib-badge--gray   { background:#f3f4f6; color:#374151; border:1px solid #d1d5db; }

/* ── Notices ─────────────────────────────────────────────────────────────── */
.cib-notice { padding:12px 16px; border-radius:var(--cib-radius-sm); font-size: 18px; margin-bottom:16px; }
.cib-notice--success { background:#d1fae5; color:#065f46; border:1px solid #6ee7b7; }
.cib-notice--error   { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }
.cib-notice--warning { background:#fef3c7; color:#92400e; border:1px solid #fcd34d; }
.cib-notice--info    { background:var(--cib-primary-light); color:#0c4a6e; border:1px solid #7dd3fc; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.cib-form { display:flex; flex-direction:column; gap:16px; }
.cib-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.cib-field { display:flex; flex-direction:column; gap:6px; }
.cib-field--full { grid-column:1/-1; }
.cib-field label { font-size: 16px; font-weight:500; color:var(--cib-neutral-700); }
.cib-field input,
.cib-field select,
.cib-field textarea {
    padding: 10px 12px;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    font-size: 18px;
    font-family: var(--cib-font);
    color: var(--cib-neutral-900);
    background: #fff;
    transition: border-color .15s;
    width: 100%;
}
.cib-field input:focus,
.cib-field select:focus,
.cib-field textarea:focus { outline:none; border-color:var(--cib-primary); box-shadow:0 0 0 3px rgba(14,165,233,.1); }
.cib-field--with-toggle { position:relative; }
.cib-field--with-toggle input { padding-right:40px; }
.cib-toggle-password { position:absolute; right:10px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; font-size: 20px; padding:0; }
.cib-field--inline { flex-direction:row; align-items:center; justify-content:space-between; }
.cib-field--inline > label { display:flex; align-items:center; gap:8px; font-weight:400; cursor:pointer; }
.cib-required { color:var(--cib-red); }
.cib-hint { font-size: 15px; color:var(--cib-neutral-500); }

/* ── Checkbox alignment — global ─────────────────────────────────────────── */
input[type="checkbox"] {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: var(--cib-primary);
    vertical-align: middle;
    position: relative;
    top: -1px;
}
/* Any label wrapping a checkbox */
label:has(input[type="checkbox"]) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
    font-weight: 400;
}
/* T&C / standalone full-width checkbox fields */
.cib-field--full > label,
.cib-field > label:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    font-weight: 400;
    color: var(--cib-neutral-700);
    line-height: 1.5;
}
.cib-field--full > label input[type="checkbox"],
.cib-field > label:has(input[type="checkbox"]) input[type="checkbox"] {
    margin-top: 2px;
    top: 0;
}

/* ── Auth pages ──────────────────────────────────────────────────────────── */
.cib-auth-wrap { display:flex; justify-content:center; align-items:flex-start; padding:40px 20px; min-height:60vh; }
.cib-auth-card { background:#fff; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius-lg); padding:0 40px 40px; width:100%; max-width:460px; box-shadow:var(--cib-shadow); overflow:hidden; }
.cib-auth-card--wide { max-width:640px; }
.cib-auth-logo { display:flex; align-items:center; justify-content:center; gap:10px; margin: 0 -40px 24px; padding: 20px 40px; background: var(--cib-neutral-50); border-bottom: 1px solid var(--cib-neutral-100); font-size:20px; font-weight:700; color:var(--cib-neutral-900); }
.cib-auth-logo img { max-height: 73px !important; max-width: 234px !important; margin: 0 !important; padding: 0 !important; }
.cib-auth-card h2 { font-size:22px; margin:0 0 4px; }
.cib-auth-sub { color:var(--cib-neutral-500); font-size: 18px; margin:0 0 24px; }
.cib-auth-footer { text-align:center; margin-top:20px; font-size: 16px; color:var(--cib-neutral-500); }
.cib-link { color:var(--cib-primary); text-decoration:none; }
.cib-link:hover { text-decoration:underline; }

/* ── Search page ─────────────────────────────────────────────────────────── */
.cib-search-hero { text-align:center; padding:48px 20px 32px; }
.cib-search-hero__title { font-size:36px; font-weight:700; color:var(--cib-neutral-900); margin:0 0 8px; }
.cib-search-hero__sub { color:var(--cib-neutral-500); font-size: 20px; margin:0; }
.cib-search-form-wrap { max-width:1100px; margin:0 auto 40px; padding:0 20px; }
.cib-search-form {
    background:#fff;
    border:1px solid var(--cib-neutral-200);
    border-radius:var(--cib-radius-lg);
    padding:20px;
    display:flex;
    gap:12px;
    align-items:flex-end;
    box-shadow:var(--cib-shadow);
    flex-wrap:wrap;
}
.cib-search-form__group { display:flex; flex-direction:column; gap:4px; flex:1; min-width:120px; }
.cib-search-form__group label { font-size: 14px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; color:var(--cib-neutral-500); }
.cib-search-form__group select,
.cib-search-form__group input {
    padding:10px 12px;
    border:1px solid var(--cib-neutral-200);
    border-radius:var(--cib-radius-sm);
    font-size: 18px;
    color:var(--cib-neutral-900);
    background:#fff;
}
.cib-search-form__group select:focus,
.cib-search-form__group input:focus { outline:none; border-color:var(--cib-primary); }
.cib-search-submit { flex-shrink:0; padding:12px 20px; }
.cib-advanced-toggle { text-align:right; margin-top:8px; }
.cib-advanced-toggle button { background:none; border:none; color:var(--cib-primary); cursor:pointer; font-size: 16px; }
.cib-search-form--advanced { margin-top:12px; border-top:1px solid var(--cib-neutral-100); padding-top:12px; }

/* Guest stepper */
.cib-guest-stepper { display:flex; align-items:center; gap:4px; }
.cib-stepper-btn { width:28px; height:28px; border:1px solid var(--cib-neutral-200); border-radius:50%; background:#fff; cursor:pointer; font-size: 20px; display:flex; align-items:center; justify-content:center; transition:all .1s; }
.cib-stepper-btn:hover { border-color:var(--cib-primary); color:var(--cib-primary); }
.cib-guest-stepper input { width:40px; text-align:center; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius-sm); padding:4px; font-size: 18px; }

/* Results */
.cib-results-wrap { max-width:1200px; margin:0 auto; padding:0 20px 60px; }
.cib-results-meta { font-size: 18px; color:var(--cib-neutral-500); margin-bottom:16px; }
/* ── Listing tile grid ───────────────────────────────────────────────────── */
.cib-results-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Property card */
.cib-property-result-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
    min-height: 180px;
}

/* Spinners */
.cib-loading { display:flex; align-items:center; gap:12px; padding:40px; justify-content:center; color:var(--cib-neutral-500); }
.cib-spinner { width:24px; height:24px; border:2px solid var(--cib-neutral-200); border-top-color:var(--cib-primary); border-radius:50%; animation:cib-spin .7s linear infinite; }
.cib-spinner--sm { width:16px; height:16px; }
@keyframes cib-spin { to { transform:rotate(360deg); } }

/* Empty state */
.cib-empty-state { text-align:center; padding:60px 20px; color:var(--cib-neutral-500); }
.cib-empty-state h3 { font-size:18px; color:var(--cib-neutral-700); margin-bottom:8px; }

/* Pagination */
.cib-pagination { display:flex; justify-content:center; gap:8px; margin-top:32px; }
.cib-pagination button { padding:8px 14px; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius-sm); background:#fff; cursor:pointer; font-size: 18px; transition:all .1s; }
.cib-pagination button:hover, .cib-pagination button.active { background:var(--cib-primary); color:#fff; border-color:var(--cib-primary); }

/* ── Property page ───────────────────────────────────────────────────────── */
.cib-property-page { max-width:1200px; margin:0 auto; padding:20px; }
.cib-property-gallery { display:grid; grid-template-columns:3fr 1fr 1fr; grid-template-rows:240px 240px; gap:8px; border-radius:var(--cib-radius-lg); overflow:hidden; margin-bottom:32px; position:relative; }
.cib-gallery-item { background-size:cover; background-position:center; background-color:var(--cib-neutral-100); cursor:pointer; }
.cib-gallery-item--main { grid-row:1/3; }
.cib-gallery-view-all { position:absolute; bottom:16px; right:16px; background:#fff; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius-sm); padding:8px 14px; font-size: 16px; font-weight:500; cursor:pointer; }
.cib-property-content { display:grid; grid-template-columns:1fr 440px; gap:36px; }
@media(max-width:900px) { .cib-property-content { grid-template-columns:1fr; } }
.cib-property-location { font-size: 16px; color:var(--cib-neutral-500); display:flex; align-items:center; gap:4px; margin-bottom:8px; }
.cib-property-title { font-size:28px; font-weight:700; margin:0 0 16px; color:var(--cib-neutral-900); }
.cib-property-quick-facts { display:flex; gap:16px; flex-wrap:wrap; font-size: 18px; color:var(--cib-neutral-700); margin-bottom:20px; }
.cib-divider { border:none; border-top:1px solid var(--cib-neutral-200); margin:24px 0; }
.cib-section-title { font-size:18px; font-weight:600; margin-bottom:16px; }
.cib-amenities-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.cib-amenity-item { display:flex; align-items:center; gap:8px; font-size: 18px; }
.cib-amenity-check { color:var(--cib-green); font-weight:700; }
.cib-policy-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.cib-policy-item { display:flex; justify-content:space-between; font-size: 18px; padding:10px 0; border-bottom:1px solid var(--cib-neutral-100); }

/* Booking widget */
.cib-booking-widget { position:sticky; top:24px; background:#fff; border:1px solid var(--cib-neutral-200); border-radius:16px; padding:22px 20px; box-shadow:0 4px 24px rgba(0,0,0,.1); height:fit-content; width:100%; box-sizing:border-box; }
.cib-booking-widget__price { display:flex; align-items:baseline; gap:6px; margin-bottom:20px; }
.cib-price-main { font-size:24px; font-weight:700; }
.cib-price-unit { font-size: 18px; color:var(--cib-neutral-500); }
.cib-booking-dates { display:grid; grid-template-columns:1fr 1fr; gap:1px; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius-sm); overflow:hidden; margin-bottom:8px; }
.cib-booking-date-field { padding:10px 12px; }
.cib-booking-date-field label { display:block; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--cib-neutral-500); margin-bottom:4px; }
.cib-booking-date-field input { width:100%; border:none; padding:0; font-size: 18px; color:var(--cib-neutral-900); background:transparent; }
.cib-booking-date-field input:focus { outline:none; }
.cib-booking-guests-field { margin-bottom:16px; }
.cib-booking-guests-field label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--cib-neutral-500); display:block; margin-bottom:4px; }
.cib-guests-dropdown { position:relative; }
.cib-guests-trigger { width:100%; padding:12px 0; border:none; background:transparent; cursor:pointer; display:flex; justify-content:space-between; align-items:center; font-size:15px; font-weight:500; color:var(--cib-neutral-900); border-radius:0; }
.cib-guests-panel { position:absolute; top:calc(100%+4px); left:0; right:0; background:#fff; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius); padding:16px; z-index:100; box-shadow:var(--cib-shadow-lg); }
.cib-guest-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--cib-neutral-100); }
.cib-guest-row:last-child { border-bottom:none; }
.cib-guest-row__label strong { display:block; font-size: 18px; }
.cib-guest-row__label small { color:var(--cib-neutral-500); font-size: 15px; }
.cib-guest-row__stepper { display:flex; align-items:center; gap:8px; }
.cib-guest-row__stepper input { width:36px; text-align:center; border:1px solid var(--cib-neutral-200); border-radius:4px; padding:4px; font-size: 18px; }
.cib-price-row { display:flex; justify-content:space-between; font-size: 18px; padding:4px 0; }
.cib-price-row--total { font-weight:700; font-size: 20px; padding-top:8px; }
.cib-booking-widget__note { font-size: 15px; color:var(--cib-neutral-500); text-align:center; margin:8px 0 0; }

/* ── Checkout page ───────────────────────────────────────────────────────── */
.cib-checkout-wrap { max-width:1000px; margin:0 auto; padding:40px 20px; }
.cib-checkout { display:grid; grid-template-columns:1fr 380px; gap:48px; }
@media(max-width:860px) { .cib-checkout { grid-template-columns:1fr; } }
.cib-checkout__form h1 { font-size:24px; font-weight:700; margin:0 0 24px; }
.cib-checkout-section { margin-bottom:24px; }
.cib-checkout-section h2 { font-size:18px; font-weight:600; margin:0 0 16px; }
.cib-guest-confirm { display:flex; align-items:center; gap:12px; padding:12px; background:var(--cib-neutral-50); border-radius:var(--cib-radius-sm); }
.cib-checkout-property-card { display:flex; gap:12px; padding:16px; background:var(--cib-neutral-50); border-radius:var(--cib-radius); margin-bottom:20px; }
.cib-checkout-property-card img { width:80px; height:60px; object-fit:cover; border-radius:var(--cib-radius-sm); flex-shrink:0; }
.cib-checkout-property-card__title { font-weight:600; font-size:15px; }
.cib-checkout-property-card__location { font-size: 16px; color:var(--cib-neutral-500); margin-top:4px; }
.cib-checkout-dates { margin-bottom:20px; }
.cib-checkout-date-row { display:flex; align-items:center; gap:16px; font-size: 18px; margin-bottom:8px; }
.cib-checkout-date-arrow { color:var(--cib-neutral-400); }
.cib-checkout-guests-row { font-size: 18px; color:var(--cib-neutral-500); }
.cib-checkout-price-summary { padding:16px 0; }
.cib-confirm-row { display:flex; justify-content:space-between; font-size: 18px; padding:8px 0; border-bottom:1px solid var(--cib-neutral-100); }
.cib-confirm-row--total { font-size: 20px; font-weight:700; border-bottom:none; }

/* ── Confirmation page ───────────────────────────────────────────────────── */
.cib-confirmation-wrap { max-width:560px; margin:0 auto; padding:60px 20px; }
.cib-confirmation { text-align:center; }
.cib-confirmation__icon { margin-bottom:24px; }
.cib-check-circle { display:block; margin:0 auto; }
.cib-check-path { stroke-dasharray:50; stroke-dashoffset:50; animation:cib-draw .6s ease .3s forwards; }
@keyframes cib-draw { to { stroke-dashoffset:0; } }
.cib-confirmation__title { font-size:28px; font-weight:700; margin:0 0 8px; }
.cib-confirmation__sub { color:var(--cib-neutral-500); margin:0 0 32px; font-size: 20px; }
.cib-confirmation__card { background:#fff; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius-lg); padding:24px; text-align:left; margin-bottom:32px; box-shadow:var(--cib-shadow); }
.cib-confirmation__ref { font-size: 16px; color:var(--cib-neutral-500); margin-bottom:16px; }
.cib-confirmation__actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ── Manager Dashboard ───────────────────────────────────────────────────── */
.cib-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    gap: 0;
    font-family: var(--cib-font);
    /* Break out of theme width constraints */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    /* Remove any inherited top/bottom spacing */
    margin-top: 0;
    margin-bottom: 0;
}
/* Page chrome suppression — see .cib-dashboard-page rules below */
@media(max-width:768px) { .cib-dashboard { grid-template-columns:1fr; } }

.cib-dashboard__sidebar {
    background: #1a4f8c;
    color: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh; /* dynamic viewport — respects mobile browsers & admin bar */
    position: sticky;
    top: 0;
    overflow: hidden;
}
/* .cib-dashboard__user removed - brand-only sidebar */
.cib-avatar { border-radius:50%; }
.cib-dashboard__username { font-size: 18px; font-weight:600; color:#f1f5f9; }
.cib-dashboard__usermeta { font-size: 15px; color:#64748b; }

.cib-dashboard__nav {
    padding: 4px 12px;
    flex: 1;
    min-height: 0; /* critical: allows flex child to shrink below content size */
    overflow-y: auto;
    overflow-x: hidden;
}
.cib-nav-item { display:flex; align-items:center; gap:8px; padding:10px 14px; border-radius:8px; text-decoration:none; color:#ffffff; font-size:18px; font-weight:500; transition:all .15s; margin-bottom:2px; white-space:nowrap; overflow:hidden; }
.cib-nav-item:hover, .cib-nav-item.active { background:rgba(14,165,233,.15); color:#38bdf8; }
.cib-nav-item--logout:hover { background:rgba(239,68,68,.15); color:#f87171; }
.cib-nav-count { margin-left:auto; flex-shrink:0; background:rgba(255,255,255,.1); padding:1px 7px; border-radius:9999px; font-size: 14px; }
.cib-nav-count--alert { background:#ef4444; color:#fff; }
.cib-dashboard__sidebar-footer {
    padding: 12px 12px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #1a4f8c;
    flex-shrink: 0;
    /* Ensure footer always visible even when content area is long */
    margin-top: auto;
}

.cib-dashboard__main { background:var(--cib-neutral-50); padding:36px 40px; overflow-y:auto; }

.cib-section__header { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.cib-section__header h2 { font-size:20px; font-weight:700; color:var(--cib-neutral-900); margin:0; }

/* Property grid */
.cib-property-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cib-property-card {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.cib-property-card__image {
    width: 140px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--cib-neutral-100);
    position: relative;
    padding: 10px;
}
.cib-property-card__body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.cib-property-card__body h3 { font-size: 15px; font-weight: 600; margin: 0 0 2px; color: var(--cib-neutral-900); }
.cib-property-card__location { font-size: 16px; color: var(--cib-neutral-500); }
.cib-property-card__price { font-size: 18px; font-weight: 700; color: var(--cib-neutral-900); margin: 2px 0 10px; }
.cib-property-card__actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

/* Bookings list */
.cib-bookings-list { display:flex; flex-direction:column; gap:12px; }
.cib-booking-row { background:#fff; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius); padding:16px; display:grid; grid-template-columns:2fr 2fr 2fr 1fr 1fr 1fr auto; gap:12px; align-items:center; font-size: 18px; }
.cib-booking-row__prop { font-weight:600; }
.cib-booking-row__dates strong { color:var(--cib-neutral-900); }
.cib-muted { color:var(--cib-neutral-500); font-size: 15px; margin-left:6px; }
.cib-booking-row__payment { font-size: 15px; }

/* Earnings */
.cib-earnings-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; max-width:560px; }
.cib-earnings-card { background:#fff; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius); padding:24px; }
.cib-earnings-card--highlight { border-color:var(--cib-primary); background:var(--cib-primary-light); }
.cib-earnings-card__label { font-size: 15px; color:var(--cib-neutral-500); text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px; }
.cib-earnings-card__value { font-size:28px; font-weight:700; color:var(--cib-neutral-900); }

/* Availability */
.cib-avail-select-prop { display:flex; align-items:center; gap:12px; margin-bottom:16px; font-size: 18px; }
.cib-avail-select-prop select { padding:8px 12px; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius-sm); font-size: 18px; }
#cib-availability-calendar { background:#fff; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius); padding:20px; }
.cib-avail-legend { display:flex; gap:16px; margin-top:12px; font-size: 16px; }
.cib-avail-key { display:flex; align-items:center; gap:6px; }
.cib-avail-key::before { content:''; width:14px; height:14px; border-radius:3px; }
.cib-avail-key--available::before { background:#16a34a; border:1px solid #15803d; }
.cib-avail-key--blocked::before { background:#f59e0b; border:1px solid #d97706; }
.cib-avail-key--booked::before { background:#ef4444; border:1px solid #dc2626; }

/* Calendar grid (built by JS) */
.cib-cal { width:100%; border-collapse:collapse; }
.cib-cal th { text-align:center; padding:8px; font-size: 15px; font-weight:600; color:var(--cib-neutral-500); text-transform:uppercase; }
.cib-cal td { width:14.28%; height:52px; text-align:center; vertical-align:middle; cursor:pointer; border-radius:6px; font-size: 18px; transition:background .1s; }
.cib-cal td:hover { background:var(--cib-neutral-100); }
.cib-cal td.today { font-weight:700; color:var(--cib-primary); }
.cib-cal td.past { opacity:.35; cursor:default; }
.cib-cal td.available { background:#16a34a; color:#fff; font-weight:700; border-radius:6px; }
.cib-cal td.blocked  { background:#f59e0b; color:#fff; font-weight:700; border-radius:6px; }
.cib-cal td.booked   { background:#dc2626; color:#fff; font-weight:700; border-radius:6px; cursor:default; }
.cib-cal td.selected { background:#1d4ed8; color:#fff; font-weight:700; border-radius:6px; outline:3px solid #93c5fd; outline-offset:1px; }
.cib-cal-nav { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.cib-cal-nav button { background:none; border:1px solid var(--cib-neutral-200); border-radius:var(--cib-radius-sm); padding:6px 12px; cursor:pointer; font-size: 20px; }
.cib-cal-nav span { font-weight:600; font-size: 20px; }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.cib-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; }
.cib-modal__overlay { position:absolute; inset:0; background:rgba(0,0,0,.5); }
.cib-modal__dialog { position:relative; background:#fff; border-radius:var(--cib-radius-lg); width:90%; max-width:760px; max-height:90vh; display:flex; flex-direction:column; box-shadow:var(--cib-shadow-lg); }
.cib-modal__dialog--wide { max-width:880px; }
.cib-modal__header { padding:20px 24px; border-bottom:1px solid var(--cib-neutral-200); display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
.cib-modal__header h3 { font-size:18px; font-weight:600; margin:0; }
.cib-modal__close { background:none; border:none; font-size:20px; cursor:pointer; color:var(--cib-neutral-500); padding:4px; border-radius:4px; }
.cib-modal__close:hover { background:var(--cib-neutral-100); }
.cib-modal__body { padding:24px; overflow-y:auto; flex:1; }
.cib-modal__footer { padding:16px 24px; border-top:1px solid var(--cib-neutral-200); display:flex; justify-content:flex-end; gap:12px; flex-shrink:0; }

/* Form steps */
.cib-form-steps { display:flex; gap:0; margin-bottom:24px; border-bottom:2px solid var(--cib-neutral-200); }
.cib-step { background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-2px; padding:10px 16px; font-size: 16px; font-weight:500; color:var(--cib-neutral-500); cursor:pointer; }
.cib-step.active { color:var(--cib-primary); border-bottom-color:var(--cib-primary); }
.cib-step-panel { display:none; }
.cib-step-panel.active { display:block; }

/* Gallery upload */
.cib-gallery-area { border:2px dashed var(--cib-neutral-200); border-radius:var(--cib-radius); padding:32px; text-align:center; margin-bottom:16px; }
.cib-gallery-preview { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:8px; }
.cib-gallery-preview__item { position:relative; height:100px; background-size:cover; background-position:center; border-radius:var(--cib-radius-sm); overflow:hidden; }
.cib-gallery-preview__remove { position:absolute; top:4px; right:4px; background:#fff; border:none; border-radius:50%; width:22px; height:22px; cursor:pointer; font-size: 15px; display:flex; align-items:center; justify-content:center; box-shadow:var(--cib-shadow-sm); }

/* Checkbox alignment — global fix */
input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--cib-primary);
    vertical-align: middle;
    position: relative;
    top: -1px;
}
label:has(input[type="checkbox"]) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
}

/* Amenities checkbox grid */
.cib-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
}
.cib-checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    cursor: pointer;
    line-height: 1.3;
}
.cib-checkbox-grid input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    top: 0;
    accent-color: var(--cib-primary);
}

/* Pricing note */
.cib-pricing-note { background:var(--cib-primary-light); border:1px solid #bae6fd; border-radius:var(--cib-radius-sm); padding:12px 16px; font-size: 16px; color:#0c4a6e; margin-top:16px; }
.cib-hint-label { font-size: 14px; color:var(--cib-neutral-500); }

/* ── Pricing section label ───────────────────────────────────────────────── */
.cib-field-section-label {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--cib-neutral-500);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--cib-neutral-200);
    margin-bottom: 4px;
    grid-column: 1 / -1;
}

/* ── Profile section ─────────────────────────────────────────────────────── */
.cib-profile-form { display:flex; flex-direction:column; gap:24px; max-width:760px; }

.cib-profile-card {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-lg);
    padding: 28px;
}
.cib-profile-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--cib-neutral-900);
    margin: 0 0 20px;
}
.cib-profile-card__title svg {
    color: var(--cib-primary);
    flex-shrink: 0;
}


/* ── Sidebar sub-navigation ──────────────────────────────────────────────── */
.cib-nav-item--parent { position: relative; }
.cib-nav-arrow {
    margin-left: auto;
    transition: transform .2s ease;
    flex-shrink: 0;
}
.cib-nav-group.open .cib-nav-arrow { transform: rotate(90deg); }
.cib-nav-subnav {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding-left: 12px;
}
.cib-nav-group.open .cib-nav-subnav { max-height: 200px; }
.cib-nav-item--sub {
    font-size: 18px;
    padding: 7px 12px;
    color: rgba(255,255,255,.9);
    font-weight: 500;
}
.cib-nav-item--sub:hover, .cib-nav-item--sub.active {
    background: rgba(14,165,233,.12);
    color: #38bdf8;
}

/* ── Dashboard stat cards ────────────────────────────────────────────────── */
.cib-dash-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-bottom: 28px;
}
@media(max-width:900px){ .cib-dash-stats { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px){ .cib-dash-stats { grid-template-columns: 1fr; } }

.cib-dash-stat {
    background: #fff;
    border-radius: var(--cib-radius-lg);
    border: 1px solid var(--cib-neutral-200);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 4px solid transparent;
}
.cib-dash-stat--blue  { border-left-color: var(--cib-primary); }
.cib-dash-stat--green { border-left-color: var(--cib-green); }
.cib-dash-stat--amber { border-left-color: var(--cib-amber); }
.cib-dash-stat--teal  { border-left-color: var(--cib-teal); }
.cib-dash-stat__icon { opacity: .55; flex-shrink: 0; }
.cib-dash-stat--blue .cib-dash-stat__icon  { color: var(--cib-primary); }
.cib-dash-stat--green .cib-dash-stat__icon { color: var(--cib-green); }
.cib-dash-stat--amber .cib-dash-stat__icon { color: var(--cib-amber); }
.cib-dash-stat--teal .cib-dash-stat__icon  { color: var(--cib-teal); }
.cib-dash-stat__num   { font-size: 26px; font-weight: 700; color: var(--cib-neutral-900); line-height: 1; }
.cib-dash-stat__label { font-size: 15px; color: var(--cib-neutral-500); margin-top: 4px; text-transform: uppercase; letter-spacing: .4px; }

/* ── Dashboard lower cards ───────────────────────────────────────────────── */
.cib-dash-lower {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}
@media(max-width:900px){ .cib-dash-lower { grid-template-columns: 1fr; } }

.cib-dash-card {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-lg);
    padding: 20px;
}
.cib-dash-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.cib-dash-card__header h3 { font-size: 15px; font-weight: 600; margin: 0; }
.cib-dash-card__link { font-size: 16px; color: var(--cib-primary); text-decoration: none; }
.cib-dash-card__link:hover { text-decoration: underline; }

.cib-dash-booking-list { display: flex; flex-direction: column; gap: 10px; }
.cib-dash-booking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--cib-neutral-100);
    gap: 12px;
}
.cib-dash-booking-row:last-child { border-bottom: none; }
.cib-dash-booking-row__main { display: flex; flex-direction: column; gap: 2px; }
.cib-dash-booking-row__main strong { font-size: 18px; color: var(--cib-neutral-900); }
.cib-dash-booking-row__right { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; white-space: nowrap; }

.cib-dash-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cib-dash-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    font-size: 16px;
    font-weight: 500;
    color: var(--cib-neutral-700);
    text-decoration: none;
    cursor: pointer;
    transition: all .15s;
}
.cib-dash-action-btn:hover {
    background: var(--cib-primary-light);
    border-color: var(--cib-primary);
    color: var(--cib-primary);
}

/* earnings grid update — 3 cols */
.cib-earnings-grid { grid-template-columns: repeat(3,1fr); max-width: none; }


/* ── Brand sidebar ───────────────────────────────────────────────────────── */
.cib-dashboard__brand {
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
    text-align: center;
}
.cib-dashboard__logo {
    max-height: 110px;
    max-width: 242px;
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.cib-dashboard__brand-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -.3px;
}

/* ── Star ratings ────────────────────────────────────────────────────────── */
.cib-stars { display: inline-flex; gap: 2px; }
.cib-star { font-size: 20px; color: #d1d5db; cursor: default; line-height: 1; transition: color .1s; }
.cib-star--filled { color: #f59e0b; }
.cib-stars--interactive .cib-star { cursor: pointer; }
.cib-stars--interactive .cib-star:hover,
.cib-stars--interactive .cib-star.hover { color: #f59e0b; }

/* ── Review form ─────────────────────────────────────────────────────────── */
.cib-review-form {
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    padding: 20px;
    margin-top: 16px;
}
.cib-review-form h4 { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.cib-review-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    font-family: var(--cib-font);
    font-size: 18px;
    resize: vertical;
    margin: 12px 0 12px;
}
.cib-review-form textarea:focus { outline: none; border-color: var(--cib-primary); }

/* Review display */
.cib-review-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.cib-review-item {
    padding: 14px;
    background: var(--cib-neutral-50);
    border-radius: var(--cib-radius-sm);
    border: 1px solid var(--cib-neutral-100);
}
.cib-review-item__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cib-review-item__name { font-weight: 600; font-size: 18px; }
.cib-review-item__date { font-size: 15px; color: var(--cib-neutral-500); }
.cib-review-item__text { font-size: 18px; color: var(--cib-neutral-700); line-height: 1.5; }

/* ── Property availability calendar (Step 3) ─────────────────────────────── */
.cib-prop-avail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.cib-prop-avail-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 16px;
    color: var(--cib-neutral-600, #475569);
}
.cib-prop-avail-calendar {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    padding: 20px;
}
/* Expand the modal for the calendar step */
.cib-modal__dialog--wide { max-width: 960px; }

/* Remove WP page chrome on the manager dashboard page */
/* Uses both body class (set via PHP) and :has() for maximum theme compatibility */
.cib-dashboard-page .entry-title,
.cib-dashboard-page .page-title,
.cib-dashboard-page h1.wp-block-post-title,
.cib-dashboard-page .wp-block-post-title { display: none !important; }

.cib-dashboard-page .entry-content,
.cib-dashboard-page .wp-block-post-content,
.cib-dashboard-page .site-main,
.cib-dashboard-page main.site-main,
.cib-dashboard-page main#main,
.cib-dashboard-page article,
.cib-dashboard-page .site-content,
.cib-dashboard-page #content,
.cib-dashboard-page #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* :has() fallback for themes that add their own wrappers */
body:has(.cib-dashboard) .entry-title,
body:has(.cib-dashboard) .page-title { display: none !important; }
body:has(.cib-dashboard) .entry-content { padding: 0 !important; margin: 0 !important; }

/* ── Guest portal: same chrome suppression ───────────────────────────────── */
.cib-guest-portal-page .entry-title,
.cib-guest-portal-page .page-title,
.cib-guest-portal-page h1.wp-block-post-title,
.cib-guest-portal-page .wp-block-post-title { display: none !important; }

.cib-guest-portal-page .entry-content,
.cib-guest-portal-page .wp-block-post-content,
.cib-guest-portal-page .site-main,
.cib-guest-portal-page main.site-main,
.cib-guest-portal-page main#main,
.cib-guest-portal-page article,
.cib-guest-portal-page .site-content,
.cib-guest-portal-page #content,
.cib-guest-portal-page #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

body:has(.cib-portal) .entry-title,
body:has(.cib-portal) .page-title,
body:has(.cib-portal) h1.wp-block-post-title { display: none !important; }
body:has(.cib-portal) .entry-content,
body:has(.cib-portal) .wp-block-post-content,
body:has(.cib-portal) .site-main,
body:has(.cib-portal) main.site-main,
body:has(.cib-portal) main#main,
body:has(.cib-portal) article,
body:has(.cib-portal) .site-content,
body:has(.cib-portal) #content,
body:has(.cib-portal) #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
}
/* ── Toggle label (allow children / infants) ─────────────────────────────── */
.cib-toggle-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: var(--cib-neutral-700);
}
.cib-toggle-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    top: 0;
    accent-color: var(--cib-primary);
}
.cib-toggle-age-hint {
    font-size: 15px;
    font-weight: 400;
    color: var(--cib-neutral-500);
    background: var(--cib-neutral-100);
    padding: 2px 8px;
    border-radius: 20px;
}
.cib-toggle-sub {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 4px;
    padding-left: 24px;
}

/* ── Named service fees (Pricing step) ──────────────────────────────────── */
.cib-named-fees { display: flex; flex-direction: column; gap: 10px; }
.cib-named-fee-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
}
.cib-named-fee-label {
    font-size: 18px;
    font-weight: 500;
    color: var(--cib-neutral-700);
    min-width: 180px;
    flex-shrink: 0;
}
.cib-named-fee-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.cib-named-fee-inputs input[type="number"] {
    width: 110px;
    padding: 7px 10px;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    font-size: 18px;
}
.cib-fee-currency-prefix {
    font-size: 16px;
    color: var(--cib-neutral-500);
    font-weight: 500;
}
.cib-fee-currency-prefix::before { content: attr(data-currency); }
.cib-fee-per {
    font-size: 15px;
    color: var(--cib-neutral-400);
    white-space: nowrap;
}

/* ── Photos step ─────────────────────────────────────────────────────────── */
.cib-photos-step { display: flex; flex-direction: column; }
.cib-photo-section__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--cib-neutral-800);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cib-photo-section__hint {
    font-size: 15px;
    font-weight: 400;
    color: var(--cib-neutral-500);
}
.cib-thumbnail-preview { margin-bottom: 8px; }
.cib-thumbnail-preview__item {
    width: 180px;
    height: 120px;
    border-radius: var(--cib-radius);
    background-size: cover;
    background-position: center;
    background-color: var(--cib-neutral-100);
    position: relative;
    border: 2px solid var(--cib-primary);
}
.cib-thumbnail-preview__item .cib-gallery-preview__remove {
    position: absolute;
    top: 6px;
    right: 6px;
}

/* ── Optional service fees (booking form) ───────────────────────────────── */
.cib-optional-fees { display: flex; flex-direction: column; gap: 8px; }
.cib-optional-fee-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.cib-optional-fee-row:hover { border-color: var(--cib-primary); background: var(--cib-primary-light); }
.cib-optional-fee-row input[type="checkbox"] {
    width: 16px; height: 16px; flex-shrink: 0;
    accent-color: var(--cib-primary);
}
.cib-optional-fee-label { flex: 1; font-size: 18px; font-weight: 500; color: var(--cib-neutral-700); }
.cib-optional-fee-price { font-size: 18px; font-weight: 600; color: var(--cib-neutral-900); white-space: nowrap; }

/* ── Color theme swatches ────────────────────────────────────────────────── */
.cib-theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
}
.cib-theme-toggle__label {
    font-size: 15px;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0;
}
.cib-theme-swatches { display: flex; gap: 8px; }
.cib-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.25);
    cursor: pointer;
    transition: transform .15s, border-color .15s;
    padding: 0;
}
.cib-swatch:hover { transform: scale(1.2); border-color: rgba(255,255,255,.6); }
.cib-swatch.active { border-color: #fff; outline: 2px solid rgba(255,255,255,.4); outline-offset: 1px; }
.cib-swatch--blue  { background: #1a4f8c; }
.cib-swatch--black { background: #18181b; }
.cib-swatch--green { background: #052e16; }
.cib-swatch--brown { background: #3b1f0c; }

/* ── Manager review cards ────────────────────────────────────────────────── */
.cib-reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--cib-neutral-50);
    border-radius: var(--cib-radius);
    border: 1px solid var(--cib-neutral-200);
    margin-bottom: 16px;
}
.cib-reviews-avg { font-size: 22px; font-weight: 700; color: #f59e0b; }
.cib-reviews-count { font-size: 18px; color: var(--cib-neutral-500); }

.cib-review-card {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    padding: 18px 20px;
    margin-bottom: 12px;
}
.cib-review-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.cib-review-card__guest  { font-size: 18px; font-weight: 600; color: var(--cib-neutral-900); }
.cib-review-card__stars  { font-size: 15px; letter-spacing: 1px; }
.cib-review-card__date   { font-size: 15px; color: var(--cib-neutral-500); margin-left: auto; }
.cib-review-card__text   { font-size: 18px; color: var(--cib-neutral-700); line-height: 1.6; margin: 0 0 14px; }

.cib-review-response { border-top: 1px solid var(--cib-neutral-100); padding-top: 12px; margin-top: 10px; }
.cib-review-response__existing { font-size: 16px; color: var(--cib-neutral-600); }
.cib-review-response__existing strong { display: block; margin-bottom: 4px; color: var(--cib-neutral-800); }
.cib-review-response__existing p { margin: 0 0 8px; line-height: 1.5; }
.cib-response-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    font-family: var(--cib-font);
    font-size: 18px;
    resize: vertical;
    line-height: 1.5;
}
.cib-response-textarea:focus { outline: none; border-color: var(--cib-primary); }
.cib-reviews-filter select:focus { outline: none; border-color: var(--cib-primary); }

/* ── Tour group rows ─────────────────────────────────────────────────────── */
.cib-tour-group-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    margin-bottom: 10px;
}
.cib-tour-group-row__fields {
    display: grid;
    grid-template-columns: 1fr 160px 110px 1fr;
    gap: 10px;
    flex: 1;
}
@media(max-width:700px) {
    .cib-tour-group-row__fields { grid-template-columns: 1fr 1fr; }
}

/* ── Tour detail page ────────────────────────────────────────────────────── */
.cib-tour-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
    padding: 20px;
    background: var(--cib-neutral-50);
    border-radius: var(--cib-radius);
    border: 1px solid var(--cib-neutral-200);
}
.cib-tour-detail-item { display: flex; flex-direction: column; gap: 4px; font-size: 18px; }
.cib-tour-detail-item strong { color: var(--cib-neutral-800); font-size: 16px; }
.cib-tour-detail-item span   { color: var(--cib-neutral-600); }

.cib-tour-incl-excl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}
@media(max-width:640px) { .cib-tour-incl-excl { grid-template-columns: 1fr; } }
.cib-tour-incl, .cib-tour-excl, .cib-tour-bring { font-size: 18px; }
.cib-tour-incl h3, .cib-tour-excl h3, .cib-tour-bring h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }

.cib-tour-groups { margin: 24px 0; }
.cib-tour-groups h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.cib-tour-groups-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cib-tour-group-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--cib-primary-light);
    border: 1px solid var(--cib-primary);
    border-radius: 20px;
    font-size: 16px;
    color: var(--cib-neutral-700);
}
.cib-tour-group-badge strong { color: var(--cib-neutral-900); }

/* Admin stat card green variant */
.cib-stat-card--green { border-left: 4px solid #16a34a; }
.cib-stat-card--green .cib-stat-icon { color: #16a34a; }

/* ── Plans tab button (sidebar footer) ──────────────────────────────────── */
.cib-plans-tab {
    padding: 6px 12px 4px;
}
.cib-plans-tab__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
    text-align: left;
}
.cib-plans-tab__btn:hover { background: rgba(255,255,255,.18); }

/* ── Pricing table ───────────────────────────────────────────────────────── */
.cib-pricing-card--custom {
    border-color: #7c3aed;
    background: linear-gradient(160deg, #faf5ff 0%, #fff 60%);
    position: relative;
}
.cib-pricing-card--custom .cib-pricing-card__name { color: #7c3aed; }
.cib-pricing-card--custom .cib-pricing-card__amount { color: #7c3aed; }

.cib-pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}
@media(max-width:900px) { .cib-pricing-card--custom {
    border-color: #7c3aed;
    background: linear-gradient(160deg, #faf5ff 0%, #fff 60%);
    position: relative;
}
.cib-pricing-card--custom .cib-pricing-card__name { color: #7c3aed; }
.cib-pricing-card--custom .cib-pricing-card__amount { color: #7c3aed; }

.cib-pricing-table { grid-template-columns: 1fr; max-width: 420px; } }

.cib-pricing-card {
    background: #fff;
    border: 2px solid var(--cib-neutral-200);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.cib-pricing-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

/* Featured highlight */
.cib-pricing-card--featured {
    border-color: var(--cib-primary);
    box-shadow: 0 4px 20px rgba(14,165,233,.15);
}
/* Boost highlight */
.cib-pricing-card--boost {
    border-color: #f59e0b;
    box-shadow: 0 4px 20px rgba(245,158,11,.12);
}
/* Current plan */
.cib-pricing-card--current {
    outline: 3px solid #10b981;
    outline-offset: 2px;
}

.cib-pricing-card__badge {
    background: var(--cib-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    text-align: center;
    padding: 5px 0;
}

.cib-pricing-card__header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid var(--cib-neutral-100);
}
.cib-pricing-card__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--cib-neutral-900);
    margin-bottom: 8px;
}
.cib-pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}
.cib-pricing-card__amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--cib-neutral-900);
    line-height: 1;
}
.cib-pricing-card__period {
    font-size: 18px;
    color: var(--cib-neutral-500);
}
.cib-pricing-card__tagline {
    font-size: 16px;
    color: var(--cib-neutral-500);
    margin: 0;
}

.cib-pricing-card__features {
    list-style: none;
    margin: 0;
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cib-pricing-card__features li {
    font-size: 18px;
    color: var(--cib-neutral-700);
    line-height: 1.4;
}

.cib-pricing-card__footer {
    padding: 16px 24px 24px;
    text-align: center;
}
.cib-pricing-card__current-label {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #10b981;
    padding: 10px 0;
}

/* ── My Billing section ─────────────────────────────────────────────────── */
.cib-billing-plan-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.cib-billing-plan-label {
    font-size: 16px;
    color: var(--cib-neutral-500);
    margin-right: 10px;
}

.cib-billing-card-section {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.cib-billing-card-section h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--cib-neutral-900);
}
.cib-saved-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    margin-bottom: 12px;
}
.cib-saved-card__icon { font-size: 24px; flex-shrink: 0; }
.cib-saved-card__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cib-saved-card__info strong { font-size: 18px; color: var(--cib-neutral-900); }

.cib-stripe-input {
    padding: 12px 14px;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    background: #fff;
    max-width: 480px;
}
.cib-stripe-input:focus-within { border-color: var(--cib-primary); }

/* ── Invoices table ──────────────────────────────────────────────────────── */
.cib-billing-invoices {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    padding: 20px 24px;
}
.cib-billing-invoices h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--cib-neutral-900);
}
.cib-invoices-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
}
.cib-invoices-table th {
    text-align: left;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--cib-neutral-500);
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 1px solid var(--cib-neutral-200);
}
.cib-invoices-table td {
    padding: 12px 12px;
    border-bottom: 1px solid var(--cib-neutral-100);
    color: var(--cib-neutral-700);
    vertical-align: middle;
}
.cib-invoices-table tr:last-child td { border-bottom: none; }
.cib-invoices-table tr:hover td { background: var(--cib-neutral-50); }

/* ── Card entry box (My Billing) ─────────────────────────────────────────── */
.cib-card-entry-box {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    padding: 0;
    max-width: 480px;
    overflow: hidden;
}
.cib-card-entry-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--cib-neutral-500);
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 10px 14px 0;
}
.cib-stripe-input-element {
    padding: 14px;
}
.cib-card-secure-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    color: var(--cib-neutral-500);
    margin: 6px 0 0;
}
.cib-saved-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    margin-bottom: 12px;
}
.cib-saved-card__brand { font-size: 22px; flex-shrink: 0; }
.cib-saved-card__info  { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 18px; }
.cib-saved-card__info strong { color: var(--cib-neutral-900); }
.cib-saved-card__info span   { color: var(--cib-neutral-500); font-size: 16px; }

/* ── Support section ─────────────────────────────────────────────────────── */
.cib-support-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}
@media(max-width:900px) { .cib-support-layout { grid-template-columns: 1fr; } }

.cib-support-form-wrap {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    padding: 24px;
}
.cib-support-form-wrap h3,
.cib-support-history h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 18px;
    color: var(--cib-neutral-900);
}

.cib-support-history {
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    padding: 20px;
}
.cib-support-ticket {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    padding: 14px 16px;
    margin-bottom: 10px;
}
.cib-support-ticket:last-child { margin-bottom: 0; }
.cib-support-ticket__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.cib-support-ticket__date { font-size: 15px; color: var(--cib-neutral-500); }
.cib-support-ticket__msg  { font-size: 16px; color: var(--cib-neutral-700); margin: 0 0 8px; line-height: 1.5; }
.cib-support-ticket__reply {
    font-size: 16px;
    color: var(--cib-neutral-700);
    background: var(--cib-primary-light);
    border-left: 3px solid var(--cib-primary);
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    margin-top: 8px;
}

/* ── Support quota badge ─────────────────────────────────────────────────── */
.cib-support-quota-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding: 10px 16px;
    background: var(--cib-primary-light);
    border: 1px solid var(--cib-primary);
    border-radius: var(--cib-radius-sm);
}
.cib-support-quota-badge span {
    font-size: 20px;
    font-weight: 700;
    color: var(--cib-primary);
    line-height: 1;
}
.cib-support-quota-badge small {
    font-size: 14px;
    color: var(--cib-neutral-500);
    white-space: nowrap;
}

/* ── Support locked state (Free plan) ───────────────────────────────────── */
.cib-plans-tab__btn--locked {
    opacity: .65;
}
.cib-plans-tab__btn--locked:hover {
    opacity: 1;
}

.cib-support-form-wrap--locked {
    position: relative;
    overflow: hidden;
}
.cib-support-locked-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--cib-radius);
}
.cib-support-locked-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 20px;
    color: var(--cib-neutral-800);
}
.cib-support-locked-msg svg { color: var(--cib-neutral-400); }
.cib-support-locked-msg strong { font-size: 20px; }
.cib-support-locked-msg p { font-size: 16px; color: var(--cib-neutral-500); margin: 0; }

/* ── Support upsell card ─────────────────────────────────────────────────── */
.cib-support-upsell {
    background: #fff;
    border: 2px solid var(--cib-primary);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 0 24px;
    box-shadow: 0 4px 20px rgba(14,165,233,.12);
}
.cib-support-upsell__header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    padding: 24px;
    text-align: center;
}
.cib-support-upsell__badge {
    display: inline-block;
    background: rgba(255,255,255,.25);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.cib-support-upsell__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}
.cib-support-upsell__price {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.cib-support-upsell__price span { font-size: 18px; font-weight: 400; opacity: .8; }
.cib-support-upsell__features {
    list-style: none;
    margin: 0;
    padding: 20px 24px 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.cib-support-upsell__features li { font-size: 18px; color: var(--cib-neutral-700); }
.cib-support-upsell .cib-btn--primary { margin: 0 24px; }

/* ── Hire licence upload section ─────────────────────────────────────────── */
.cib-hire-licence-section {
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius);
    padding: 20px 24px;
    margin: 24px 0;
}
.cib-hire-licence-section h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--cib-neutral-900);
}

/* ════════════════════════════════════════════════════════════════════════════
   UNIFIED SEARCH — [cib_unified_search]
   ════════════════════════════════════════════════════════════════════════════ */
.cib-unified-search { font-family: var(--cib-font); }

/* ── Unified Search Hero Bar ────────────────────────────────────────────── */
.cib-us-hero {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    padding: 20px 20px 16px;
    margin-bottom: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
}

/* Tabs — pill style */
.cib-us-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.cib-us-tab {
    padding: 10px 22px;
    border-radius: 99px;
    border: 1.5px solid rgba(255,255,255,.35);
    background: transparent;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
    letter-spacing: .2px;
}
.cib-us-tab:hover  { background: rgba(255,255,255,.18); color:#fff; border-color:rgba(255,255,255,.6); }
.cib-us-tab.active {
    background: #fff;
    color: #1a4f8c;
    border-color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

/* Search form — card style */
.cib-us-form-wrap { padding: 0; }
.cib-us-form {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    min-height: 68px;
    height: 68px;
}
.cib-us-field {
    flex: 1;
    min-width: 0;
    border-right: 1px solid #f0f0f0;
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
}
.cib-us-field:hover { background: #f8fafc; }
.cib-us-field__label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #9ca3af;
    margin-bottom: 4px;
    line-height: 1;
}
.cib-us-field__input {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    background: transparent;
    width: 100%;
    padding: 0;
    height: auto;
    line-height: 1.3;
}
.cib-us-field__input::placeholder { color: #9ca3af; font-weight: 400; }
.cib-us-field__input:focus { box-shadow: none; }

.cib-us-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 28px;
    background: linear-gradient(135deg, #1a4f8c 0%, #0ea5e9 100%);
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 0;
    height: 100%;
    align-self: stretch;
    letter-spacing: .2px;
}
.cib-us-search-btn:hover { opacity: .9; }

/* ── Mobile: stack fields vertically ──────────────────────────────────────── */
@media (max-width: 767px) {
    .cib-us-hero {
        border-radius: 16px;
        padding: 16px 14px 14px;
    }
    .cib-us-tabs { gap: 5px; margin-bottom: 12px; }
    .cib-us-tab  { padding: 8px 16px; font-size: 14px; }
    .cib-us-form {
        flex-direction: column;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,.1);
    }
    .cib-us-field {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        height: 58px;
        padding: 0 16px;
    }
    .cib-us-field:last-of-type { border-bottom: none; }
    .cib-us-search-btn {
        height: 54px;
        border-radius: 0 0 12px 12px;
        padding: 0 20px;
        justify-content: center;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cib-us-tab { padding: 7px 14px; font-size: 13px; }
}

/* Results meta */
.cib-us-results-meta {
    font-size: 16px;
    color: var(--cib-neutral-500);
    margin-bottom: 16px;
}

/* Result grid */
.cib-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.cib-us-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.cib-us-card:hover { box-shadow:0 8px 28px rgba(0,0,0,.12); transform:translateY(-2px); }
.cib-us-card__image {
    height: 190px;
    background: var(--cib-neutral-200) center/cover no-repeat;
    position: relative;
    flex-shrink: 0;
}
.cib-us-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #10b981;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
}
.cib-us-card__body { padding: 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
.cib-us-card__loc   { font-size: 15px; color:var(--cib-neutral-500); }
.cib-us-card__title { font-size: 18px; font-weight:700; color:#111827; line-height:1.3; }
.cib-us-card__facts { display:flex; flex-wrap:wrap; gap:8px; font-size:12.6px; color:var(--cib-neutral-600); }
.cib-us-card__facts span { display:flex; align-items:center; gap:3px; }
.cib-us-card__excerpt { font-size: 16px; color:var(--cib-neutral-500); line-height:1.5; }
.cib-us-card__price { margin-top:auto; padding-top:10px; display:flex; align-items:baseline; gap:4px; }
.cib-us-card__price-num  { font-size:19.6px; font-weight:800; color:#111827; }
.cib-us-card__price-unit { font-size: 16px; color:var(--cib-neutral-500); }

/* ── Booking calendar (dashboard) ────────────────────────────────────────── */
.cib-dash-card--full { grid-column: 1 / -1; }

.cib-bcal-toggles {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.cib-bcal-toggle {
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--cib-neutral-200);
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: var(--cib-neutral-600);
    transition: all .15s;
}
.cib-bcal-toggle:hover { border-color: var(--cib-primary); color: var(--cib-primary); }
.cib-bcal-toggle.active {
    background: var(--cib-primary);
    border-color: var(--cib-primary);
    color: #fff;
}

.cib-bcal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}
.cib-bcal-month { font-size: 18px; font-weight: 700; color: var(--cib-neutral-900); min-width: 180px; text-align: center; }

.cib-bcal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.cib-bcal-table thead th {
    padding: 8px 4px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--cib-neutral-500);
    border-bottom: 1px solid var(--cib-neutral-200);
}
.cib-bcal-cell {
    vertical-align: top;
    padding: 6px 4px;
    border: 1px solid var(--cib-neutral-100);
    min-height: 80px;
    font-size: 15px;
}
.cib-bcal-cell--empty { background: var(--cib-neutral-50); }
.cib-bcal-cell--past  { background: var(--cib-neutral-50); opacity: .75; }
.cib-bcal-cell--today { background: #eff6ff; border-color: var(--cib-primary); }
.cib-bcal-cell--today .cib-bcal-day-num { color: var(--cib-primary); font-weight: 700; }

.cib-bcal-day-num {
    font-size: 15px;
    font-weight: 600;
    color: var(--cib-neutral-700);
    margin-bottom: 4px;
}

.cib-bcal-event {
    font-size: 13px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-bottom: 2px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    transition: opacity .1s;
}
.cib-bcal-event:hover { opacity: .8; }

.cib-bcal-more {
    font-size: 13px;
    color: var(--cib-neutral-500);
    cursor: pointer;
    padding: 2px 5px;
}
.cib-bcal-more:hover { color: var(--cib-primary); }

/* Tooltip */
.cib-bcal-tooltip {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    padding: 14px;
    min-width: 240px;
    max-width: 320px;
    pointer-events: none;
}
.cib-bcal-tip-header {
    font-size: 15px;
    font-weight: 700;
    color: var(--cib-neutral-900);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--cib-neutral-100);
}
.cib-bcal-tip-event {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid var(--cib-neutral-100);
    font-size: 15px;
}
.cib-bcal-tip-event:last-child { border-bottom: none; }
.cib-bcal-tip-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.cib-bcal-tip-status { text-transform: capitalize; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════════════
   LISTING TILE — horizontal card (Booking.com style)
   ═══════════════════════════════════════════════════════════════════════════ */

.cib-property-result-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,.13);
    transform: translateY(-1px);
}

/* ── Photo pane ─────────────────────────────────────────────────────────── */
.cib-result-card__image {
    flex-shrink: 0;
    width: 260px;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--cib-neutral-100);
    position: relative;
    border-radius: 14px 0 0 14px;
    overflow: hidden;
}
@media(max-width:700px) {
    .cib-property-result-card { flex-direction: column; }
    .cib-result-card__image   { width: 100%; min-height: 200px; border-radius: 14px 14px 0 0; }
}

/* badges on photo */
.cib-result-card__image .cib-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}
.cib-result-card__discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0d9488;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.cib-result-card__rating-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

/* ── Middle: listing details ────────────────────────────────────────────── */
.cib-result-card__body {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.cib-result-card__location {
    font-size: 14px;
    color: var(--cib-neutral-500);
    display: flex;
    align-items: center;
    gap: 4px;
}
.cib-result-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--cib-neutral-900);
    line-height: 1.25;
    margin: 0;
}
.cib-result-card__subtitle {
    font-size: 15px;
    color: var(--cib-neutral-500);
    margin: 0;
}
.cib-result-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.cib-result-card__fact {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--cib-neutral-600);
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-200);
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
}
.cib-result-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.cib-result-card__amenity {
    font-size: 13px;
    color: var(--cib-neutral-600);
    background: var(--cib-neutral-50);
    border: 1px solid var(--cib-neutral-100);
    border-radius: 4px;
    padding: 2px 8px;
}
.cib-result-card__view-more {
    font-size: 14px;
    color: var(--cib-primary);
    font-weight: 500;
    margin-top: 4px;
    display: inline-block;
}

/* ── Right: price + CTA ─────────────────────────────────────────────────── */
.cib-result-card__aside {
    flex-shrink: 0;
    width: 200px;
    padding: 18px 18px 18px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}
@media(max-width:700px) {
    .cib-result-card__aside {
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 0 18px 16px;
    }
}
.cib-result-card__price-wrap { text-align: right; }
.cib-result-card__price-label {
    font-size: 13px;
    color: var(--cib-neutral-500);
    margin-bottom: 2px;
}
.cib-result-card__price {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}
.cib-result-card__price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--cib-neutral-500);
}
.cib-result-card__total {
    font-size: 13px;
    color: var(--cib-neutral-500);
    margin-top: 2px;
}
.cib-result-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    background: #1a4f8c;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}
.cib-result-card__cta:hover { background: #0284c7; color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOMER PORTAL — sidebar layout matching manager dashboard
   ═══════════════════════════════════════════════════════════════════════════ */

.cib-portal {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    gap: 0;
    font-family: var(--cib-font);
    /* Full-width breakout — works regardless of theme container alignment */
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    margin-bottom: 0;
    overflow-x: hidden;
}
@media(max-width:768px) { .cib-portal { grid-template-columns: 1fr; } }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.cib-portal__sidebar {
    background: #0f766e;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.cib-portal__brand {
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
    text-align: center;
}
.cib-portal__logo {
    max-height: 110px;
    max-width: 242px;
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.cib-portal__brand-text {
    font-size: 22px;
    font-weight: 700;
    color: #f1f5f9;
    padding: 20px 16px;
}

/* User info strip */
.cib-portal__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
}
.cib-portal__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
}
.cib-portal__user-name { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.2; }
.cib-portal__user-email { font-size: 13px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }

/* Nav */
.cib-portal__nav { padding: 8px 12px; flex: 1; overflow-y: auto; }
.cib-portal__nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: all .15s;
    margin-bottom: 2px;
    white-space: nowrap;
}
.cib-portal__nav-item:hover { background: rgba(255,255,255,.12); color: #fff; }
.cib-portal__nav-item.active { background: rgba(255,255,255,.18); color: #fff; font-weight: 600; }
.cib-portal__nav-count {
    margin-left: auto;
    flex-shrink: 0;
    background: rgba(255,255,255,.2);
    padding: 1px 7px;
    border-radius: 9999px;
    font-size: 14px;
}

/* Footer */
.cib-portal__sidebar-footer {
    padding: 12px 16px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}
.cib-portal__signout {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}
.cib-portal__signout:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ── Main content ────────────────────────────────────────────────────────── */
.cib-portal__main {
    background: #f8fafc;
    min-height: 100vh;
    padding: 32px 36px;
    overflow-y: auto;
}
@media(max-width:900px) { .cib-portal__main { padding: 20px; } }

.cib-portal__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}
.cib-portal__section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Stats row */
.cib-portal__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
@media(max-width:700px) { .cib-portal__stats { grid-template-columns: repeat(2,1fr); } }
.cib-portal__stat {
    background: #fff;
    border-radius: 12px;
    padding: 20px 18px;
    border-left: 4px solid transparent;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.cib-portal__stat--blue  { border-left-color: #3b82f6; }
.cib-portal__stat--green { border-left-color: #10b981; }
.cib-portal__stat--teal  { border-left-color: #0d9488; }
.cib-portal__stat--amber { border-left-color: #f59e0b; }
.cib-portal__stat-num { font-size: 28px; font-weight: 800; color: #111827; line-height: 1; margin-bottom: 4px; }
.cib-portal__stat-label { font-size: 14px; color: #6b7280; }

/* Recent booking list (dashboard) */
.cib-portal__booking-list {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}
.cib-portal__booking-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #f3f4f6;
}
.cib-portal__booking-row:last-child { border-bottom: none; }
.cib-portal__booking-icon { font-size: 22px; flex-shrink: 0; }
.cib-portal__booking-info { flex: 1; min-width: 0; }
.cib-portal__booking-info strong { display: block; font-size: 16px; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cib-portal__booking-info .cib-muted { font-size: 14px; }
.cib-portal__booking-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.cib-portal__booking-meta strong { font-size: 16px; }

/* Empty state */
.cib-portal__empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}
.cib-portal__empty-icon { font-size: 48px; margin-bottom: 12px; }
.cib-portal__empty h3 { font-size: 18px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.cib-portal__empty p { font-size: 15px; }

/* Type tabs */
.cib-portal__type-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cib-portal__type-tab {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: #6b7280;
    text-decoration: none;
    transition: all .15s;
}
.cib-portal__type-tab:hover { border-color: #0d9488; color: #0d9488; }
.cib-portal__type-tab.active { background: #0d9488; border-color: #0d9488; color: #fff; }

/* Booking cards (My Bookings section) */
.cib-portal__cards { display: flex; flex-direction: column; gap: 16px; }
.cib-portal__booking-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    transition: box-shadow .2s;
}
.cib-portal__booking-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.cib-portal__booking-card--past { opacity: .7; }
@media(max-width:600px) {
    .cib-portal__booking-card { flex-direction: column; }
    .cib-portal__booking-card-image { width: 100% !important; height: 140px !important; border-radius: 14px 14px 0 0 !important; }
}

.cib-portal__booking-card-image {
    width: 180px;
    flex-shrink: 0;
    background: #e5e7eb center/cover no-repeat;
    position: relative;
    border-radius: 14px 0 0 14px;
}
.cib-portal__booking-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 18px;
    background: rgba(255,255,255,.85);
    border-radius: 8px;
    padding: 3px 7px;
    line-height: 1;
}
.cib-portal__booking-card-body { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cib-portal__booking-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.cib-portal__booking-title { font-size: 18px; font-weight: 700; color: #111827; margin: 0 0 3px; }
.cib-portal__booking-ref { font-size: 14px; color: #9ca3af; }
.cib-portal__booking-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 15px;
    color: #4b5563;
}
.cib-portal__booking-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cib-portal__review-existing { font-size: 15px; padding-top: 10px; border-top: 1px solid #f3f4f6; }

/* Profile grid */
.cib-portal__profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media(max-width:700px) { .cib-portal__profile-grid { grid-template-columns: 1fr; } }
.cib-portal__profile-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 24px;
}
.cib-portal__profile-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

/* ── Tour / Hire summary card (availability page) ───────────────────────── */
.cib-tour-summary-card {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-lg);
    overflow: hidden;
}
.cib-tour-summary-card__image {
    width: 220px;
    flex-shrink: 0;
    background: var(--cib-neutral-100) center/cover no-repeat;
    min-height: 180px;
}
.cib-tour-summary-card__body {
    flex: 1;
    padding: 20px 22px;
}
@media(max-width:700px) {
    .cib-tour-summary-card { flex-direction: column; }
    .cib-tour-summary-card__image { width:100%; min-height:160px; }
}

/* ── Listing page (Accommodation / Tours / Hires) ────────────────────────── */
.cib-listing-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.cib-listing-filters {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-lg);
    padding: 18px 22px;
    margin-bottom: 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.cib-listing-filter-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}
.cib-listing-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 120px;
}
.cib-listing-filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--cib-neutral-600);
    text-transform: uppercase;
    letter-spacing: .4px;
}
.cib-listing-filter-group input,
.cib-listing-filter-group select {
    padding: 9px 12px;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-sm);
    font-size: 16px;
    color: var(--cib-neutral-900);
    background: #fff;
    width: 100%;
}
.cib-listing-filter-group input:focus,
.cib-listing-filter-group select:focus {
    outline: none;
    border-color: var(--cib-primary);
    box-shadow: 0 0 0 2px rgba(14,165,233,.12);
}
.cib-listing-filter-row .cib-btn {
    flex-shrink: 0;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    font-size: 16px;
}

.cib-listing-results { }
.cib-listing-meta { font-size: 15px; color: var(--cib-neutral-500); margin-bottom: 16px; }
.cib-listing-loading { text-align: center; padding: 60px 0; color: var(--cib-neutral-400); }
.cib-listing-loading .cib-spinner { margin: 0 auto 12px; }
.cib-listing-empty { text-align: center; padding: 60px 20px; color: var(--cib-neutral-500); }
.cib-listing-empty h3 { font-size: 20px; font-weight: 600; color: var(--cib-neutral-700); margin: 14px 0 6px; }
.cib-listing-empty p { font-size: 16px; }

@media(max-width:700px) {
    .cib-listing-filter-row { flex-direction: column; }
    .cib-listing-filter-group { min-width: 100%; }
    .cib-listing-filter-row .cib-btn { width: 100%; justify-content: center; }
}

/* ── Listing page hero (accommodation / tours / hires) ───────────────────── */
/* Reuses .cib-us-hero but without the tab switcher */
.cib-listing-page .cib-us-hero {
    border-radius: 16px;
    margin-bottom: 32px;
}
.cib-listing-page .cib-us-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
/* Remove the hard border-right on the last field before the button */
.cib-listing-page .cib-us-form .cib-us-field:last-of-type {
    border-right: 1px solid #e5e7eb;
}

/* ── Billing section ─────────────────────────────────────────────────────── */
.cib-billing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
@media(max-width:800px) { .cib-billing-grid { grid-template-columns: 1fr; } }

.cib-billing-panel {
    background: #fff;
    border: 1px solid var(--cib-neutral-200);
    border-radius: var(--cib-radius-lg);
    padding: 22px 24px;
}
.cib-billing-panel__header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--cib-neutral-700);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cib-neutral-100);
}
.cib-billing-panel__header svg { flex-shrink: 0; color: var(--cib-primary); }

/* ── Card graphic ── */
.cib-saved-card-display {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.cib-saved-card-display__visual { flex-shrink: 0; }

.cib-card-graphic {
    width: 220px;
    height: 136px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a4f8c 0%, #0d9488 100%);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 28px rgba(26,79,140,.35);
    position: relative;
    overflow: hidden;
}
.cib-card-graphic::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.cib-card-graphic__brand { line-height: 1; }
.cib-card-graphic__number {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}
.cib-card-graphic__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.cib-card-graphic__label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.6);
    margin-bottom: 2px;
}
.cib-card-graphic__value {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

/* ── Card details list ── */
.cib-saved-card-display__details { flex: 1; min-width: 140px; }
.cib-saved-card-display__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--cib-neutral-100);
    font-size: 15px;
}
.cib-saved-card-display__row:last-of-type { border-bottom: none; }
.cib-saved-card-display__label { color: var(--cib-neutral-500); font-size: 14px; }
.cib-saved-card-display__val { font-weight: 600; color: var(--cib-neutral-900); }
.cib-saved-card-display__actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* No card prompt */
.cib-no-card-prompt {
    text-align: center;
    padding: 24px 0 8px;
    color: var(--cib-neutral-400);
}
.cib-no-card-prompt p { margin-top: 10px; font-size: 15px; color: var(--cib-neutral-500); line-height: 1.6; }
.cib-no-card-prompt small { font-size: 13px; color: var(--cib-neutral-400); }

/* Plan display */
.cib-plan-display { text-align: center; padding: 10px 0; }
.cib-plan-display__badge {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 99px;
    margin-bottom: 12px;
}
.cib-plan-display__price {
    font-size: 28px;
    font-weight: 800;
    color: var(--cib-neutral-900);
}
.cib-plan-display__price span { font-size: 15px; font-weight: 400; color: var(--cib-neutral-500); }

/* ── Featured badge on listing cards ──────────────────────────────────────── */
.cib-result-card__featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    letter-spacing: .4px;
    box-shadow: 0 2px 8px rgba(245,158,11,.4);
    z-index: 2;
}
.cib-result-card--featured {
    border: 2px solid #f59e0b44;
    box-shadow: 0 0 0 2px #f59e0b22, var(--cib-shadow);
}
.cib-us-badge--featured {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}
.cib-us-card--featured {
    border: 2px solid #f59e0b44;
}

/* ── Plan gate (analytics locked) ─────────────────────────────────────────── */
.cib-plan-gate {
    text-align: center;
    padding: 60px 24px;
    background: var(--cib-neutral-50);
    border: 2px dashed var(--cib-neutral-200);
    border-radius: var(--cib-radius-lg);
    margin-top: 16px;
}
.cib-plan-gate__icon { font-size: 48px; margin-bottom: 16px; }
.cib-plan-gate h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--cib-neutral-900); }
.cib-plan-gate p { font-size: 15px; color: var(--cib-neutral-500); margin-bottom: 24px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ── Optional service fee checkboxes ─────────────────────────────────────── */
.cib-bw__services {
    border: 1px solid var(--cib-neutral-200);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}
.cib-bw__services-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--cib-neutral-500);
    padding: 10px 14px;
    background: var(--cib-neutral-50);
    border-bottom: 1px solid var(--cib-neutral-100);
}
.cib-svc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background .15s;
    border-bottom: 1px solid var(--cib-neutral-100);
}
.cib-svc-item:last-child { border-bottom: none; }
.cib-svc-item:hover { background: var(--cib-neutral-50); }
.cib-svc-item__check { flex-shrink: 0; position: relative; }
.cib-svc-item__check input[type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 1;
}
.cib-svc-item__box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--cib-neutral-300);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    background: #fff;
}
.cib-svc-item__check input:checked + .cib-svc-item__box {
    background: var(--cib-primary);
    border-color: var(--cib-primary);
}
.cib-svc-checkmark { color: #fff; opacity: 0; transition: opacity .15s; }
.cib-svc-item__check input:checked + .cib-svc-item__box .cib-svc-checkmark { opacity: 1; }
.cib-svc-item.selected { background: var(--cib-primary-light); }
.cib-svc-item__info { flex: 1; min-width: 0; }
.cib-svc-item__name { display: block; font-size: 14px; font-weight: 600; color: var(--cib-neutral-900); }
.cib-svc-item__desc { display: block; font-size: 12px; color: var(--cib-neutral-500); margin-top: 1px; }
.cib-svc-item__price { font-size: 14px; font-weight: 600; color: var(--cib-primary); flex-shrink: 0; }

.cib-pricing-card--custom {
    border-color: #7c3aed;
    background: linear-gradient(160deg, #faf5ff 0%, #fff 60%);
    position: relative;
}
.cib-pricing-card--custom .cib-pricing-card__name { color: #7c3aed; }
.cib-pricing-card--custom .cib-pricing-card__amount { color: #7c3aed; }

.cib-pricing-table { border:1px solid var(--cib-neutral-200); border-radius:12px; overflow:hidden; }
.cib-pricing-row { display:flex; justify-content:space-between; align-items:center; padding:13px 18px; font-size:15px; border-bottom:1px solid var(--cib-neutral-100); gap:12px; }
.cib-pricing-row:last-child { border-bottom:none; }
.cib-pricing-row span:last-child { font-weight:600; color:var(--cib-neutral-900); white-space:nowrap; }
.cib-pricing-row--main { background:var(--cib-neutral-50); }
.cib-pricing-row--main strong { font-size:18px; color:var(--cib-primary); }
.cib-pricing-row--note { color:var(--cib-neutral-500); font-size:14px; }
/* Pricing grid — always 3 columns */
.cib-pricing-grid { grid-template-columns: repeat(3, 1fr) !important; }
@media(max-width:680px) { .cib-pricing-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media(max-width:400px) { .cib-pricing-grid { grid-template-columns: 1fr !important; } }

/* ═══════════════════════════════════════════════════════════════════════════
   RC-CARD — Booking.com style horizontal property card
   ═══════════════════════════════════════════════════════════════════════════ */

.rc-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .15s;
    margin-bottom: 16px;
    min-height: 200px;
}
.rc-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.13);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}
.rc-card--featured { border-color: #0ea5e9; box-shadow: 0 0 0 2px rgba(14,165,233,.15); }

/* ── Photo ─────────────────────────────────────────────────────────────── */
.rc-card__img {
    flex-shrink: 0;
    width: 280px;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
    position: relative;
}
.rc-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    line-height: 1.4;
}
.rc-badge--featured { background: #fbbf24; color: #78350f; }
.rc-badge--instant  { background: #10b981; color: #fff; }
.rc-badge--discount { background: #ef4444; color: #fff; }
.rc-card__img-rating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,.6);
    color: #fbbf24;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
}

/* ── Body ──────────────────────────────────────────────────────────────── */
.rc-card__body {
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rc-card__location {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 3px;
}
.rc-card__title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rc-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.rc-fact {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 10px;
}
.rc-fact svg { color: #0ea5e9; flex-shrink: 0; }
.rc-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.rc-amenity {
    font-size: 12px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 2px 8px;
}
.rc-amenity--more {
    color: #0ea5e9;
    border-color: #bae6fd;
    background: #f0f9ff;
    font-weight: 600;
}

/* ── Aside (price + CTA) ───────────────────────────────────────────────── */
.rc-card__aside {
    flex-shrink: 0;
    width: 190px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    border-left: 1px solid #f1f5f9;
    background: #fafbfc;
}
.rc-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 4px;
}
.rc-rating__score {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.rc-rating__stars { color: #f59e0b; letter-spacing: 1px; }
.rc-rating__count { font-size: 12px; color: #94a3b8; }
.rc-card__price-block { text-align: right; }
.rc-card__from { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; }
.rc-card__price { font-size: 22px; font-weight: 800; color: #0f172a; line-height: 1.1; }
.rc-card__per  { font-size: 12px; color: #94a3b8; }
.rc-card__btn {
    display: inline-block;
    background: #0ea5e9;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background .15s;
    margin-top: 12px;
}
.rc-card:hover .rc-card__btn { background: #0284c7; }

/* ── Results grid ──────────────────────────────────────────────────────── */
#cib-results-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media(max-width: 768px) {
    .rc-card { flex-direction: column; min-height: auto; }
    .rc-card__img { width: 100%; height: 220px; }
    .rc-card__aside { width: 100%; flex-direction: row; align-items: center; border-left: none; border-top: 1px solid #f1f5f9; }
    .rc-card__price-block { text-align: left; }
    .rc-card__btn { width: auto; margin-top: 0; }
}
@media(max-width: 480px) {
    .rc-card__title { font-size: 16px; }
    .rc-card__aside { flex-direction: column; align-items: stretch; }
    .rc-card__btn { width: 100%; margin-top: 8px; }
}

.cib-date-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1.5px solid var(--cib-neutral-200);
    border-radius: 7px;
    background: #fff;
    font-size: 14px;
    min-height: 40px;
    cursor: pointer;
}

/* ── Manager booking detail cards ─────────────────────────────────── */
.cib-booking-card { background:#fff; border:1px solid var(--cib-neutral-200); border-radius:10px; margin-bottom:16px; overflow:hidden; }
.cib-booking-card__header { display:flex; justify-content:space-between; align-items:flex-start; padding:14px 18px; border-bottom:1px solid var(--cib-neutral-100); flex-wrap:wrap; gap:8px; }
.cib-booking-card__title { display:flex; flex-direction:column; gap:2px; }
.cib-booking-card__body { display:grid; grid-template-columns:repeat(3,1fr); gap:0; }
.cib-booking-card__col { padding:14px 18px; border-right:1px solid var(--cib-neutral-100); }
.cib-booking-card__col:last-child { border-right:none; }
.cib-booking-card__section-label { font-size:10px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--cib-neutral-400); margin-bottom:6px; }
.cib-booking-card__actions { display:flex; gap:8px; padding:10px 16px; background:var(--cib-neutral-50); border-top:1px solid var(--cib-neutral-100); flex-wrap:wrap; }
@media(max-width:700px) { .cib-booking-card__body { grid-template-columns:1fr; } .cib-booking-card__col { border-right:none; border-bottom:1px solid var(--cib-neutral-100); } }


/* ═══════════════════════════════════════════════════════════
   MOBILE — Plugin pages
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Checkout ── */
    .cib-checkout-wrap { padding: 0 12px; }
    .cib-checkout { flex-direction: column; gap: 0; }
    .cib-checkout__form { padding: 20px 16px; }
    .cib-checkout__summary {
        order: -1;
        border-radius: 0;
        border-left: none;
        padding: 16px;
        border-bottom: 1px solid var(--cib-neutral-100);
    }
    .cib-form-grid { grid-template-columns: 1fr; }
    .cib-field--full { grid-column: 1; }

    /* ── Booking widget ── */
    .cib-property-layout,
    .cib-property-page {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
    .cib-booking-widget {
        order: -1 !important;
        width: 100% !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 24px;
        border-radius: 12px;
    }

    /* ── Manager dashboard ── */
    .cib-dashboard { flex-direction: column; }
    .cib-dashboard__sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--cib-neutral-100);
    }
    .cib-nav-item--sub { padding-left: 16px; }

    /* ── Booking cards ── */
    .cib-booking-card__cols { flex-direction: column; gap: 12px; }
    .cib-booking-card__actions { flex-wrap: wrap; gap: 6px; }

    /* ── Auth pages ── */
    .cib-auth-wrap { padding: 16px; }
    .cib-auth-card { padding: 24px 18px; }

    /* ── Portal ── */
    .cib-portal { flex-direction: column; }
    .cib-portal__sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--cib-neutral-100);
    }
    .cib-portal__nav { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 10px; }
    .cib-portal__nav-item { padding: 8px 12px; font-size: 13px; border-radius: 8px; }

    /* ── Modal dialogs ── */
    .cib-modal__dialog { margin: 12px; max-width: calc(100vw - 24px); }

    /* ── Property/tour/hire detail ── */
    .cib-property-page,
    .cib-tour-page { gap: 0; }

    /* ── Booking widget date fields — stack on mobile ── */
    .cib-bw__dates {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .cib-bw__date-field {
        width: 100% !important;
        flex: none !important;
        border-right: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        border-bottom: 1px solid var(--cib-neutral-100);
        min-height: 56px;
    }
    .cib-bw__date-field:first-child {
        border-right: none !important;
    }
    .cib-bw__date-field:last-child {
        border-bottom: none;
    }
    .cib-bw__dates {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
}
.cib-bw__date-field {
    flex: 1;
    min-width: 0;
    padding: 12px 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.cib-bw__date-field:first-child {
    padding-right: 16px;
    margin-right: 4px;
    border-right: 1px solid var(--cib-neutral-200);
}
.cib-bw__date-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cib-neutral-500);
    margin-bottom: 6px;
    pointer-events: none;
}

.cib-prop-facts { grid-template-columns: repeat(2, 1fr); }
    .cib-amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .cib-prop-facts { grid-template-columns: 1fr; }
    .cib-amenities-grid { grid-template-columns: 1fr; }
    .cib-btn--full { font-size: 15px; padding: 13px 16px; }
    .cib-section__header h2 { font-size: 18px; }
    .cib-booking-card__header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
