/* ============================================================
   CAJUN BLISS MARINA — Perez Template Adaptation
   Modern Nautical Luxury / Bayou Fishing Lodge
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
    /* Primary — deep water */
    --deep:          #0B2D3F;
    --deep-rgb:      11,45,63;
    --primary:       #0E4D64;
    --primary-light: #147A94;
    --accent:        #00B4D8;
    --accent-glow:   #33D4F0;
    --link:          #0E7490; /* AA-contrast cyan (4.5:1 on white) for inline text links; bright --accent stays for icons/decorative */

    /* Warm — cajun gold */
    --gold:          #C8963E;
    --gold-light:    #E0B560;
    --gold-glow:     #F0D080;

    /* Neutrals */
    --dark:          #1A1E2B;
    --slate:         #475569;
    --muted:         #64748B; /* darkened from #94A3B8 to meet WCAG AA (4.5:1) as body text */
    --border:        #E2E8F0;
    --light:         #F1F5F9;
    --cream:         #F8FAFB;
    --white:         #FFFFFF;

    /* Status */
    --available:     #059669;
    --booked:        #DC2626;

    /* Typography */
    --font-display:  'Cormorant Garamond', Georgia, serif;
    --font-body:     'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Radii */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-full: 100px;

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(var(--deep-rgb),0.06);
    --shadow-md:   0 4px 16px rgba(var(--deep-rgb),0.08);
    --shadow-lg:   0 8px 32px rgba(var(--deep-rgb),0.1);
    --shadow-xl:   0 20px 48px rgba(var(--deep-rgb),0.12);
    --shadow-card: 0 2px 8px rgba(var(--deep-rgb),0.04), 0 12px 32px rgba(var(--deep-rgb),0.06);

    /* Motion */
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast:   200ms;
    --duration-normal: 400ms;
    --duration-slow:   700ms;
}

/* ── Global Reset ── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--slate);
    background-color: var(--white);
    margin: 0;
    overflow-x: hidden;
}

/* Subtle grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--deep);
    margin: 0 0 var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }

p { margin: 0 0 var(--space-md); }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--accent); }

.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted) !important; }
.font-display { font-family: var(--font-display); }

/* Decorative italic for hero text */
.text-italic-accent {
    font-style: italic;
    color: var(--gold-light);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }

/* Fade in from different directions */
.reveal-left { transform: translateX(-30px); }
.reveal-left.visible { transform: translateX(0); }
.reveal-right { transform: translateX(30px); }
.reveal-right.visible { transform: translateX(0); }
.reveal-scale { transform: scale(0.95); }
.reveal-scale.visible { transform: scale(1); }

/* ── Navigation ── */
.cb-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--duration-normal) var(--ease-out);
    /* Solid by default so the white "Cajun" wordmark stays legible on light interior pages.
       Hero pages opt into a transparent overlay via body.has-hero below. */
    background: rgba(var(--deep-rgb), 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
/* Home page: the navbar overlays the dark hero, so let it stay transparent until scrolled.
   Once the "scrolled" class lands, the rule below no longer matches and the solid look wins. */
body.has-hero .cb-navbar:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.cb-navbar.scrolled {
    background: rgba(var(--deep-rgb), 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.cb-navbar .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cb-navbar .nav-brand {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}
.cb-navbar .nav-brand span { color: var(--gold); }

.cb-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.cb-navbar .nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    transition: color var(--duration-fast) var(--ease-out);
    position: relative;
}
.cb-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-normal) var(--ease-out);
}
.cb-navbar .nav-link:hover,
.cb-navbar .nav-link.active {
    color: var(--white);
}
.cb-navbar .nav-link:hover::after,
.cb-navbar .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.cb-navbar .nav-cta {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.6rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all var(--duration-fast) var(--ease-out);
    margin-left: 0.5rem;
}
.cb-navbar .nav-cta:hover {
    background: var(--accent-glow);
    color: var(--deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,180,216,0.3);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--deep);
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(var(--deep-rgb), 0.85) 0%,
        rgba(var(--deep-rgb), 0.6) 40%,
        rgba(var(--deep-rgb), 0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-4xl) 0 var(--space-3xl);
    max-width: 700px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}
.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent);
}
.hero h1 {
    color: var(--white);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    line-height: 1.05;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}
.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}
.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: var(--space-xs);
}

/* ── Search Panel ── */
.search-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-xl) var(--space-2xl);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.search-panel label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: var(--space-xs);
    display: block;
}
.search-panel .form-control,
.search-panel .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    transition: all var(--duration-fast) var(--ease-out);
    background-color: var(--light);
}
.search-panel .form-control:focus,
.search-panel .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
    background-color: var(--white);
}

/* ── Buttons ── */
.btn-primary-cb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.btn-primary-cb:hover {
    background: var(--accent-glow);
    color: var(--deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,180,216,0.25);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.9rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}
.btn-gold:hover {
    background: var(--gold-light);
    color: var(--deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,150,62,0.3);
}

.btn-outline-cb {
    background: transparent;
    color: var(--deep);
    border: 2px solid var(--deep);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}
.btn-outline-cb:hover {
    background: var(--deep);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--deep);
    border-color: var(--white);
}

/* ── Section Layout ── */
.section-pad { padding: var(--space-4xl) 0; }
.section-pad-sm { padding: var(--space-3xl) 0; }
.bg-light { background: var(--light) !important; }
.bg-cream { background: var(--cream) !important; }
.bg-white { background: var(--white) !important; }
.bg-deep { background: var(--deep); color: rgba(255,255,255,0.8); }
.bg-deep h2, .bg-deep h3, .bg-deep h4, .bg-deep h5 { color: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--accent);
}
.section-header h2 { margin-bottom: var(--space-md); }
.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── Feature Cards (Services section) ── */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid var(--border);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.feature-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(0,180,216,0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    transition: all var(--duration-normal) var(--ease-out);
}
.feature-card:hover .feature-card-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
}
.feature-card-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: color var(--duration-normal);
}
.feature-card:hover .feature-card-icon i { color: var(--white); }
.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ── Split Content Section ── */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
.split-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}
.split-image:hover img { transform: scale(1.03); }
.split-image-badge {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    background: rgba(var(--deep-rgb), 0.9);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}
.split-text .section-eyebrow { justify-content: flex-start; }
.split-text .section-eyebrow::after { display: none; }
.split-text h2 { text-align: left; }
.split-text p { color: var(--slate); font-size: 1.05rem; line-height: 1.8; }
.split-text-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}
.split-feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}
.split-feature-item i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* ── Photo Gallery Grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: var(--space-md);
}
.gallery-grid-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-grid-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}
.gallery-grid-item:hover img { transform: scale(1.05); }
.gallery-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--deep-rgb),0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-normal);
}
.gallery-grid-item:hover::after { opacity: 1; }

/* ── Parallax Image Band ── */
.parallax-band {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.parallax-band img {
    position: absolute;
    inset: -10% 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
}
.parallax-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--deep-rgb), 0.7);
}
.parallax-band-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding: 0 var(--space-xl);
}
.parallax-band-content h2 { color: var(--white); }
.parallax-band-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* ── Cabin Cards ── */
.cabin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--duration-normal) var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}
.cabin-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.cabin-card-img {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.cabin-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}
.cabin-card:hover .cabin-card-img img {
    transform: scale(1.06);
}
.cabin-card-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}
.cabin-card-badge.available {
    background: rgba(5,150,105,0.9);
    color: var(--white);
}
.cabin-card-badge.booked {
    background: rgba(220,38,38,0.9);
    color: var(--white);
}
.cabin-card-body {
    padding: var(--space-lg) var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cabin-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cabin-card-summary {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Loading skeletons for the cabin browse grid — same footprint as .cabin-card so
   results swap in without the layout reflowing (no spinner-then-pop jump). */
.cabin-skeleton {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    height: 100%;
}
.cabin-skeleton .sk-img { height: 230px; }
.cabin-skeleton .sk-body { padding: var(--space-lg); }
.cabin-skeleton .sk-line { height: 14px; border-radius: 6px; margin-bottom: 0.75rem; }
.cabin-skeleton .sk-title { height: 22px; width: 60%; }
.cabin-skeleton .sk-short { width: 45%; }
.cabin-skeleton .sk-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; }
.cabin-skeleton .sk-price { width: 35%; height: 20px; margin: 0; }
.cabin-skeleton .sk-btn { width: 120px; height: 40px; border-radius: var(--radius-full); }
.cabin-skeleton .sk-img,
.cabin-skeleton .sk-line,
.cabin-skeleton .sk-btn {
    background: linear-gradient(90deg, var(--light) 25%, var(--border) 37%, var(--light) 63%);
    background-size: 800px 100%;
    animation: skShimmer 1.4s ease-in-out infinite;
}
@keyframes skShimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cabin-skeleton .sk-img,
    .cabin-skeleton .sk-line,
    .cabin-skeleton .sk-btn { animation: none; }
}
@media (max-width: 767px) {
    .cabin-skeleton .sk-img { height: 200px; }
}
.cabin-card-meta {
    display: flex;
    gap: var(--space-lg);
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}
.cabin-card-meta i { color: var(--accent); margin-right: 4px; }
.cabin-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}
.amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--light);
    color: var(--slate);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 500;
}
.amenity-badge i { font-size: 0.6rem; color: var(--accent); }
.cabin-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}
.cabin-card-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--deep);
}
.cabin-card-price small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--muted);
}

/* ── Filter Sidebar ── */
.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
}
.filter-sidebar h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--deep);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.filter-group {
    margin-bottom: var(--space-lg);
}
.filter-group > label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: var(--space-sm);
    display: block;
}
.filter-check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--slate);
    cursor: pointer;
}
.filter-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

/* Toggle switch */
.toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}
.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch .slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 26px;
    cursor: pointer;
    transition: background var(--duration-fast);
}
.toggle-switch .slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: transform var(--duration-fast) var(--ease-spring);
}
.toggle-switch input:checked + .slider { background: var(--accent); }
.toggle-switch input:checked + .slider::before { transform: translateX(22px); }

/* ── Detail Page — Gallery ── */
.gallery-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 480px;
    background: var(--light);
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumbs {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    scrollbar-width: thin;
}
.gallery-thumb {
    width: 85px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all var(--duration-fast) var(--ease-out);
    flex-shrink: 0;
}
.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--accent);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Detail Page — Stats & Amenities ── */
.detail-stat {
    text-align: center;
    padding: var(--space-lg);
}
.detail-stat-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep);
}
.detail-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-top: var(--space-xs);
}
.detail-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: var(--space-md);
}
.detail-amenity-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--dark);
    transition: all var(--duration-fast);
    border: 1px solid transparent;
}
.detail-amenity-item:hover {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}
.detail-amenity-item i {
    color: var(--accent);
    width: 22px;
    text-align: center;
}

/* ── Detail Page — Price Sidebar ── */
.price-display {
    background: linear-gradient(135deg, var(--deep), var(--primary));
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    position: sticky;
    top: 100px;
}
.price-display .price-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold-light);
}
.price-display .price-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* ── Checkout ── */
.checkout-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.checkout-form .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate);
}
.checkout-form .form-control {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    background: var(--light);
    transition: all var(--duration-fast);
}
.checkout-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,180,216,0.08);
    background: var(--white);
}
.checkout-summary {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
}
.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: 0.95rem;
}
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0 0;
    margin-top: var(--space-md);
    border-top: 2px solid var(--deep);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep);
}
.stripe-element-wrapper {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    background: var(--light);
    transition: all var(--duration-fast);
}
.stripe-element-wrapper.focused {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,180,216,0.08);
    background: var(--white);
}
.sms-optin {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
}
.sms-optin input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Confirmation ── */
.confirmation-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid var(--border);
}
.confirmation-header {
    background: linear-gradient(135deg, var(--deep), var(--primary));
    color: var(--white);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
}
.confirmation-header h2 { color: var(--white); margin-bottom: var(--space-sm); }
.confirmation-check {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    animation: confirmPulse 0.6s var(--ease-spring);
}
@keyframes confirmPulse {
    from { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    to { transform: scale(1); opacity: 1; }
}
.confirmation-check i { font-size: 2.2rem; color: var(--gold-light); }
.access-code-display {
    background: var(--light);
    border: 2px dashed var(--gold);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    margin: var(--space-xl);
}
.access-code-display .code-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: var(--space-sm);
}
.access-code-display .code-value {
    font-family: 'Courier New', monospace;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--deep);
    letter-spacing: 0.3em;
}
.confirmation-details { padding: 0 var(--space-xl) var(--space-xl); }
.confirmation-detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.confirmation-detail-row:last-child { border-bottom: none; }
.confirmation-detail-row .label { color: var(--muted); }
.confirmation-detail-row .value { font-weight: 600; color: var(--dark); }

/* ── FAQ Accordion ── */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--duration-fast);
}
.faq-item:hover { border-color: var(--accent); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    transition: background var(--duration-fast);
}
.faq-question:hover { background: var(--light); }
.faq-question i {
    color: var(--accent);
    transition: transform var(--duration-normal) var(--ease-out);
    font-size: 0.9rem;
}
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding: 0 var(--space-xl) var(--space-lg);
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.8;
}

/* ── Testimonial Cards ── */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--duration-normal);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.testimonial-stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}
.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--slate);
    flex: 1;
    margin-bottom: var(--space-lg);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}
.testimonial-author-name { font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.testimonial-author-role { font-size: 0.8rem; color: var(--muted); }

/* ── Footer ── */
.cb-footer {
    background: var(--deep);
    color: rgba(255,255,255,0.6);
    padding: var(--space-3xl) 0 var(--space-lg);
}
.cb-footer h5 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}
.cb-footer a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: color var(--duration-fast);
}
.cb-footer a:hover { color: var(--accent); }
.cb-footer-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    display: block;
}
.cb-footer-brand span { color: var(--gold); }
.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all var(--duration-fast);
}
.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}
.cb-footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.footer-links {
    display: flex;
    gap: var(--space-lg);
}
.footer-links a { font-size: 0.8rem; }

/* ── Admin Layout ── */
.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    background: var(--deep);
    color: var(--white);
    padding: var(--space-lg) 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    transition: transform var(--duration-normal) var(--ease-out);
}
.admin-sidebar-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: var(--space-lg);
}
.admin-sidebar-brand span { color: var(--gold); }
.admin-sidebar-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
    padding: var(--space-md) var(--space-lg) var(--space-sm);
}
.admin-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.7rem var(--space-lg);
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-fast);
    border-left: 3px solid transparent;
    margin: 1px 0;
}
.admin-nav-item:hover {
    color: var(--white);
    background: rgba(255,255,255,0.04);
}
.admin-nav-item.active {
    color: var(--accent);
    background: rgba(0,180,216,0.06);
    border-left-color: var(--accent);
}
.admin-nav-item i { width: 20px; text-align: center; font-size: 0.9rem; }
.admin-nav-button {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    text-align: left;
    font-family: inherit;
}
.admin-sidebar-user {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.7rem var(--space-lg);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 600;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: var(--space-md);
}
.admin-sidebar-user i { color: var(--gold); font-size: 1.1rem; }
.admin-toast-container {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}
.admin-toast {
    pointer-events: auto;
    min-width: 280px;
    max-width: 420px;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    background: var(--white);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.admin-toast.visible { opacity: 1; transform: translateX(0); }
.admin-toast-success { border-left-color: var(--available); }
.admin-toast-error { border-left-color: var(--booked); }
.admin-toast-warn { border-left-color: var(--gold); }
.admin-placeholder {
    background: var(--white);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    color: var(--muted);
}
.admin-placeholder i {
    font-size: 2.5rem;
    color: var(--muted);
    margin-bottom: var(--space-md);
    display: block;
}
.admin-placeholder h3 { margin-bottom: var(--space-sm); color: var(--dark); }
.admin-content {
    margin-left: 260px;
    padding: var(--space-xl);
    min-height: 100vh;
    background: var(--light);
}
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}
.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border);
    transition: all var(--duration-fast);
}
.admin-stat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.admin-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}
.admin-stat-icon.blue { background: rgba(0,180,216,0.08); color: var(--accent); }
.admin-stat-icon.green { background: rgba(5,150,105,0.08); color: var(--available); }
.admin-stat-icon.gold { background: rgba(200,150,62,0.08); color: var(--gold); }
.admin-stat-icon.purple { background: rgba(124,58,237,0.08); color: #7C3AED; }
.admin-stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep);
    line-height: 1;
}
.admin-stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: var(--space-xs);
}
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.admin-table th {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.admin-table td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    vertical-align: middle;
    color: var(--slate);
}
/* Keep the action icons (edit / view / delete, etc.) on a single line — the
   actions column is always the last cell in our admin list tables. */
.admin-table td:last-child {
    white-space: nowrap;
}
.admin-table tbody tr {
    transition: background var(--duration-fast);
}
.admin-table tbody tr:hover { background: var(--light); }
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.status-badge.confirmed { background: #ECFDF5; color: #065F46; }
.status-badge.pending { background: #FFF7ED; color: #9A3412; }
.status-badge.cancelled { background: #FEF2F2; color: #991B1B; }
.status-badge.completed { background: #EFF6FF; color: #1E40AF; }

/* ── Info Box ── */
.info-box {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border-left: 4px solid var(--accent);
}
.info-box h5 { color: var(--deep); margin-bottom: var(--space-md); }
.info-box p { font-size: 0.9rem; color: var(--slate); margin-bottom: var(--space-sm); }
.info-box p:last-child { margin-bottom: 0; }

/* ── Responsive ── */
@media (max-width: 1199px) {
    .split-section { gap: var(--space-2xl); }
    .gallery-grid { grid-template-rows: repeat(2, 200px); }
}

@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .filter-sidebar { position: static; margin-bottom: var(--space-lg); }
    .gallery-main { height: 350px; }
    .split-section { grid-template-columns: 1fr; gap: var(--space-xl); }
    .split-image { aspect-ratio: 16/9; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    .gallery-grid-item:nth-child(1) { grid-column: span 2; }
    .hero-stats { gap: var(--space-xl); }
    .parallax-band { height: 350px; }
}

@media (max-width: 767px) {
    .hero { min-height: 85vh; }
    .hero-content { padding: var(--space-3xl) 0 var(--space-xl); }
    .search-panel { margin-top: var(--space-lg); padding: var(--space-lg); }
    .cabin-card-img { height: 200px; }
    .price-display .price-amount { font-size: 2.2rem; }
    .access-code-display .code-value { font-size: 2rem; }
    .confirmation-header { padding: var(--space-xl); }
    .hero-stats { flex-wrap: wrap; gap: var(--space-lg); }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 180px);
    }
    .parallax-band { height: 300px; }
    .checkout-form { padding: var(--space-xl); }
    .section-pad { padding: var(--space-3xl) 0; }
}

@media (max-width: 575px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { flex-direction: column; gap: var(--space-md); }
    .hero-stat { display: flex; align-items: baseline; gap: var(--space-sm); }
    .cabin-card-meta { flex-wrap: wrap; gap: var(--space-sm); }
    .detail-amenity-grid { grid-template-columns: repeat(2, 1fr); }
    .split-text-features { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
    }
    .gallery-grid-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary-cb,
    .hero-actions .btn-outline-light { width: 100%; }
}
/* ============================================================
   LOGIN / SECURITY LAYOUT
   ============================================================ */
.cb-login-bg {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, var(--deep) 0%, var(--primary) 50%, var(--primary-light) 100%);
    background-attachment: fixed;
    color: var(--dark);
    font-family: var(--font-body);
}
.cb-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
}
.cb-login-shell .container { width: 100%; }
.cb-login-brand {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--white);
}
.cb-login-brand a {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
}
.cb-login-brand a span { color: var(--gold-light); }
.cb-login-tagline {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.65);
    margin-top: var(--space-xs);
}
.cb-login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-xl);
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.cb-login-card .header-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.cb-login-card .header-text i { color: var(--gold); }
.cb-login-card .login-wrapper,
.cb-login-card .questions-wrapper,
.cb-login-card .reset-password { padding: 0; }
.cb-login-card .field { margin-bottom: var(--space-md); }
.cb-login-card .field-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--white);
    color: var(--dark);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cb-login-card .field-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}
.cb-login-card .field-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
    margin-bottom: 0.35rem;
    display: block;
}
.cb-login-card .rememberMe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: var(--space-md) 0;
    font-size: 0.85rem;
}
.cb-login-card .rememberMe a { color: var(--accent); text-decoration: none; }
.cb-login-card .rememberMe a:hover { text-decoration: underline; }
.cb-login-card .login-divider { color: var(--muted); margin: 0 var(--space-sm); }
.cb-login-card .btn-primary {
    background: var(--accent);
    border: none;
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--duration-fast);
    width: 100%;
}
.cb-login-card .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -8px rgba(0, 180, 216, 0.6);
}
.cb-login-card .btn-secondary {
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
}
.cb-login-card .button-container {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-lg);
}
.cb-login-card .button-container .btn {
    flex: 0 0 auto;
    min-width: 160px;
    width: auto;
    padding: 0.65rem 1.5rem;
    margin: 0;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    border: 1px solid transparent;
    text-decoration: none;
}
.cb-login-card .alert-error,
.cb-login-card .alert-danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: 0.88rem;
}
.cb-login-footer {
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
    margin-top: var(--space-lg);
    line-height: 1.7;
}
.cb-login-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.cb-login-footer a:hover { color: var(--gold-light); }

/* ── Bootstrap 4 .close button shim (framework markup uses .close, BS5 uses .btn-close) ── */
.close,
.modal-header .close,
.alert .close {
    background: transparent;
    border: 0;
    padding: 0.35rem 0.6rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    opacity: 0.55;
    cursor: pointer;
    margin-left: auto;
    box-shadow: none;
}
.close:hover,
.modal-header .close:hover,
.alert .close:hover {
    opacity: 0.9;
    color: inherit;
}
.close:focus { outline: none; box-shadow: 0 0 0 2px rgba(0,180,216,0.25); }
.alert .close { float: right; }

/* ── Password strength meter — top-right of field-input-wrapper, away from floating label ── */
.cb-login-card .field-input-wrapper { position: relative; }
.cb-login-card #PasswordStrength {
    position: absolute;
    top: 0.5rem;
    right: 0.65rem;
    margin: 0;
    padding: 0;
    float: none;
    width: 110px;
    z-index: 5;
    pointer-events: none;
    display: block;
}
.cb-login-card #PasswordStrength .PasswordStrengthWrapper { margin: 0; width: 110px; }
.cb-login-card #PasswordStrength .PasswordStrengthFrame {
    width: 110px;
    height: 18px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border-color: var(--border);
}
.cb-login-card #PasswordStrength .PasswordStrengthScore {
    line-height: 18px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark);
}
.cb-login-card #PasswordStrength .PasswordStrengthVeryWeak,
.cb-login-card #PasswordStrength .PasswordStrengthWeak,
.cb-login-card #PasswordStrength .PasswordStrengthGood,
.cb-login-card #PasswordStrength .PasswordStrengthStrong,
.cb-login-card #PasswordStrength .PasswordStrengthVeryStrong { height: 18px; }
.cb-login-card #PasswordStrength .PasswordStrengthGood { background-color: #FEF3C7; }
.cb-login-card #PasswordStrength .PasswordStrengthStrong { background-color: #D1FAE5; }
.cb-login-card #PasswordStrength .PasswordStrengthVeryStrong { background-color: #A7F3D0; }

/* ============================================================
   RENTALS — sub-page hero (used on /rentals listing page)
   ============================================================ */

/* The navbar is position:fixed, so interior pages must clear its height. Hero pages do it via
   .hero / body.has-hero, and most interior pages via .cb-page-hero (a <div>) below. The guest
   Account/Booking pages (My Bookings, Sign In, Register, Reset/Forgot Password, Review) instead
   open with a bare <section class="py-5">, whose 3rem top is less than the navbar height, so the
   heading was clipped under the navbar. Clear the navbar height on that first section. Scoped to
   :not(.has-hero) (excludes home) and to a first-child <section> (excludes the .cb-page-hero div,
   which already bakes in this offset). !important overrides Bootstrap's .py-5 padding utility. */
body:not(.has-hero) #main-content > section:first-child {
    padding-top: calc(var(--space-xl) + 80px) !important;
}

.cb-page-hero {
    background: var(--deep);
    padding: calc(var(--space-xl) + 80px) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}
.cb-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/stock/deep-sea-wake.jpg') center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}
.cb-page-hero .container { position: relative; }
.cb-page-hero .section-eyebrow { color: var(--accent); }
.cb-page-hero h1 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    margin: 0.25rem 0 0.75rem;
    line-height: 1.15;
}
.cb-page-hero p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 0;
}
.cb-page-hero .search-panel {
    margin-top: var(--space-xl);
}

/* Pin the grid pager to the horizontal scroll viewport. The .DataGrid container
   is the horizontal scroll element, and the framework renders .GridPager as a
   block child of it - so by default the pager is anchored at the table's content
   origin (content-space left:0) and slides leftward, "floating" mid-grid, as the
   user scrolls right. A block child of an overflow-x:auto box is only as wide as
   the viewport (not the scroll width), so sticky left:0 keeps the pager's left
   edge at the scrollport: the right-aligned nav/pagination stays pinned right and
   the row-count stays left. Harmless (no-op) for grids that don't scroll. */
.DataGrid > div.GridPager {
    position: sticky;
    left: 0;
}
