html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

:root {
    --bs-success: #8bbcab !important; /* Override Bootstrap success color */
    --bs-success-rgb: 139, 188, 171 !important;
}

.bg-success {
    background-color: var(--bs-success) !important;
}

.text-success {
    color: var(--bs-success) !important;
}

.btn.maintenance {
    background-color: #90CAF9 !important; /* sky-blue */
    color: white !important; /* force white text */
    border: none;
}


.btn-primary {
    background-color: #F2BB3C !important; /* Golden Yellow */
    color: white !important; /* White text */
    border: none; /* Remove border */
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: black;
    text-align: center;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px; /* Adjust height as needed */
    z-index: 1000; /* Keep it above other elements */
}

    .sticky-footer a {
        color: black;
        text-decoration: none;
        font-size: 24px; /* Adjust icon size */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .sticky-footer a:hover {
            color: #F2BB3C; /* Match your button color */
        }

/* now: stock = #008000 (too dark-intense) */
.stock {
    background-color: #A5D6A7 !important; /* lighter mint-green */
    color: #1B5E20 !important;
}

/* now: maintenance = #0000FF (very saturated) */
.maintenance {
    background-color: #90CAF9 !important; /* softer sky-blue */
    color: #0D47A1 !important;
}

.announcement-card {
    border-left: 6px solid #d7b32d; /* gold accent */
    padding: .5rem .75rem;
    margin: 0 0 .75rem 0;
    position: relative;
}

.announcement-message {
    white-space: pre-wrap;
    margin: 0;
    line-height: 1.2;
    font-size: .95rem;
}

.announcement-actions {
    margin-top: .35rem;
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

.announcement-clear {
    position: absolute;
    top: .35rem;
    right: .35rem;
    padding: .1rem .45rem;
    line-height: 1;
    font-size: .9rem;
}

.offcanvas {
    background-color: #78a892;
    color: black;
    max-width: 300px;
}

.offcanvas-body a.nav-link {
    color: black !important;
    text-decoration: none;
}

    .offcanvas-body a.nav-link:hover {
        color: #333 !important;
        text-decoration: underline;
    }

.offcanvas-body a.nav-link {
    color: black !important;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

    .offcanvas-body a.nav-link:last-child {
        border-bottom: none; /* remove bottom border on last item */
    }


.offcanvas-header {
    padding-top: 1rem;
}

.btn-close {
    font-size: 1.2rem;
}


/* =========================
   Content layer
   ========================= */

.content-overlay {
    position: relative;
    z-index: 2;
}

    /* Optional: soften cards & panels */
    .content-overlay .card,
    .content-overlay .bg-white {
        background-color: rgba(255, 255, 255, 0.9);
    }

/* Ensure video never takes up layout space */
html, body {
    height: 100%;
}

/* Background video layer */


/* Force the app UI above the video */
header,
.offcanvas,
.container.content-overlay,
footer,
#toast-container {
    position: relative;
    z-index: 1;
}

.container.content-overlay {
    padding-top: 100px !important;
}

/* Ensure bootstrap offcanvas stays overlay (prevents it becoming a normal block) */
.offcanvas {
    position: fixed !important;
    top: 0;
    bottom: 0;
    z-index: 1045 !important; /* bootstrap default layer */
}

.offcanvas-end {
    right: 0;
    left: auto;
}
/* =========================
   Global text on video
   ========================= */

body {
    color: #ffffff;
}

/* Headings slightly brighter */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Muted text still readable */
.text-muted {
    color: rgba(255,255,255,0.75) !important;
}

.table {
    background-color: rgba(255,255,255,0.95);
    color: #1f2933;
}

    .table th {
        font-weight: 600;
    }
.btn {
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.btn-outline-light {
    color: #fff;
    border-color: #fff;
}
.navbar,
.sticky-footer {
    background-color: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(6px);
}

    .navbar a,
    .sticky-footer a {
        color: #1f2933 !important;
    }
/* =========================
   White containers = dark text
   ========================= */

.card,
.bg-white,
.container.content-overlay .card,
.container.content-overlay .bg-white,
.container.content-overlay form {
    background-color: rgba(255, 255, 255, 0.92) !important;
    color: #1f2933 !important;
}

.advert-card {
    overflow: hidden;
}

.advert-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.private-banner {
    position: absolute;
    top: 10px;
    left: -40px;
    transform: rotate(-10deg);
    padding: 6px 60px;
    font-weight: 700;
    background: rgba(0,0,0,0.75);
    color: #fff;
    z-index: 2;
}

/* Full-screen overlay */
.advert-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

/* Greyed-out background */
.advert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.60);
}

/* Centered modal */
.advert-modal {
    position: relative;
    z-index: 2001;
    max-width: 820px;
    width: calc(100% - 32px);
    margin: 10vh auto 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    overflow: hidden;
}

/* Image only, clean */
.advert-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Close X */
.advert-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.9);
    font-size: 22px;
    line-height: 1;
}

/* Optional banner */
.advert-banner {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 700;
    background: rgba(0,0,0,0.75);
    color: #fff;
}

/* Buttons below image */
.advert-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 14px;
    background: #fff;
}

/* Optional title/message (if you ever enable them) */
.advert-title {
    margin: 14px 14px 0 14px;
    font-weight: 700;
}

.advert-message {
    margin: 8px 14px 0 14px;
    white-space: pre-wrap;
}

/* Prevent background scroll when modal open */
body.advert-open {
    overflow: hidden;
}

/* =========================
   FIX: white text leaking into light components
   Place this at the END of site.css
   ========================= */

.card, .card *,
.bg-white, .bg-white *,
.container.content-overlay .card, .container.content-overlay .card *,
.container.content-overlay .bg-white, .container.content-overlay .bg-white *,
.container.content-overlay form, .container.content-overlay form *,
.table, .table *,
.modal-content, .modal-content * {
    color: #1f2933 !important;
    text-shadow: none !important;
}

    /* Keep Bootstrap helpers behaving */
    .container.content-overlay .text-muted,
    .card .text-muted,
    .table .text-muted {
        color: #6c757d !important;
    }

/* Make sure inputs look normal */
.container.content-overlay .form-control,
.container.content-overlay .form-select,
.container.content-overlay .form-check-label,
.container.content-overlay label {
    color: #1f2933 !important;
}

/* Preserve badges (they expect white text) */
.badge {
    color: #fff !important;
}

/* =========================
   Prevent content hiding behind sticky footer
   ========================= */

/* Reserve space for the fixed footer */
body {
    padding-bottom: 80px; /* footer height (60px) + comfort */
}

/* If you want to scope it tighter */
.container.content-overlay {
    padding-bottom: 80px;
}
/* =========================
   Bootstrap modal stacking fix
   ========================= */
.modal-backdrop {
    z-index: 2990 !important;
}

.modal {
    z-index: 3000 !important;
}

/* If you use offcanvas too, keep it below modal */
.offcanvas {
    z-index: 2500 !important;
}

/* Ensure your video overlay never blocks clicks */
.bg-video-wrap,
.bg-video-overlay {
    pointer-events: none !important;
}


/ /* =========================
   MODAL VISIBILITY FIX (RibClub)
   Put at END of style2026.css
   ========================= */
/* Your content wrapper must NOT create a higher stacking context than the backdrop */
.content-overlay,
.container.content-overlay {
    position: static !important;
    z-index: auto !important;
}

/* Keep app above video */
.app-shell {
    position: relative !important;
    z-index: 1 !important;
}

/* Video always bottom */
.bg-video-wrap,
.bg-video-overlay {
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Force modal above everything */
.modal-backdrop {
    z-index: 5000 !important;
}

.modal {
    z-index: 5010 !important;
}

/* Keep offcanvas below modal */
.offcanvas {
    z-index: 4000 !important;
}

.advert-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    text-align: center;
    font-weight: 800;
    letter-spacing: .3px;
    background: rgba(0,0,0,0.70);
    color: #fff;
    z-index: 3;
}

/* =========================
   RIB IMAGE CARDS: force white text (override global dark rule)
   Put at END of CSS
   ========================= */

.rib-card .card-overlay,
.rib-card .card-overlay * {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.65) !important;
}

/* make the overlay slightly stronger so the white text always reads */
.rib-card .card-overlay {
    background: linear-gradient( to top, rgba(0,0,0,0.82), rgba(0,0,0,0.45), rgba(0,0,0,0) ) !important;
}

/* Put at the VERY END of style2026.css */
.bg-image-overlay {
    position: absolute !important;
    inset: 0 !important;
    background-image: url('/Images/RIBBG.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    /* This is the key: scale to cover large screens */
    background-size: cover !important;
    /* Optional: stops “jitter” on resize in some browsers */
    background-attachment: scroll !important;

    pointer-events: none !important;
}

/* =========================
   GLOBAL TEXT: back to dark
   Put this at the VERY END
   ========================= */

body {
    color: #1f2933 !important;
    text-shadow: none !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #1f2933 !important;
    text-shadow: none !important;
}

p{
    font-weight:500;
}

/* Bootstrap helpers */
.text-muted {
    color: #6c757d !important;
}

/* Links */
a, .nav-link {
    color: #1f2933 !important;
}

/* Buttons: remove forced white shadows */
.btn {
    text-shadow: none !important;
}

/* Keep places that *should* remain white text */
.private-banner,
.advert-banner,
.badge,
.btn-primary,
.btn-outline-light,
.rib-card .card-overlay,
.rib-card .card-overlay * {
    color: #fff !important;
}

/* ===== Advert Overlay ===== */
.advert-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark backdrop */
.advert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

/* ===== Advert Modal ===== */
.advert-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-height: calc(100vh - 40px); 
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* prevents overflow escape */
}

/* Close X */
.advert-x {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 5;
    background: transparent;
    border: none;
    font-size: 28px;
}


.advert-image {
    width: 100%;
    height: auto;
    max-height: 60vh; 
    object-fit: contain;
    display: block;
}


.advert-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    font-weight: 600;
}


.advert-modal > *:not(.advert-actions):not(.advert-x) {
    overflow-y: auto;
}


.advert-actions {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid #eee;
    background: #fff;
}
/* === Membership picker takes the focus === */
.membership-jump {
    max-width: 900px;
}

/* Bigger tiles so they take up most of the page */
.membership-card-link {
    text-decoration: none;
    display: block;
}

.membership-card--white {
    position: relative;
    height: 150px; /* fixed size */
    border-radius: 18px;
    background: #fff;
    color: #111;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 .25rem .75rem rgba(0,0,0,0.12);
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    transition: transform .12s ease-in-out;
}

    /* Optional: faint boat image inside the white tile */
    /*.membership-card--white::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--bg);
        background-size: cover;
        background-position: center;
        opacity: 0.18;*/ /* keep it subtle */
        /*filter: saturate(0.9) contrast(0.95);
    }

    .membership-card--white::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.92), rgba(255,255,255,1) );
    }*/

    /* Text sits above the background layers */
    /*.membership-card--white > * {
        position: relative;
        z-index: 2;
        text-shadow: none !important;
    }*/

.membership-card-title {
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1.2;
    color: #111 !important;
}

.membership-card-sub {
    font-size: 0.75rem;
    opacity: 0.75;
    color: #111 !important;
}

.membership-card--white:hover {
    transform: scale(1.02);
}

/* Optional hint */
.fleet-hint {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 14px;
    padding: 10px 12px;
    color: #111;
    font-weight: 600;
}

/* ===== Membership cards (background image + white readable overlay) ===== */

.membership-card-link {
    text-decoration: none;
    display: block;
}

.membership-card.membership-card--white {
    position: relative;
    height: 150px;
    border-radius: 18px;
    overflow: hidden;
    padding: 14px;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 .25rem .75rem rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .membership-card.membership-card--white::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0,0,0,0.55), rgba(0,0,0,0.15), rgba(0,0,0,0) );
    }

    .membership-card.membership-card--white > * {
        position: relative;
        z-index: 2;
    }



    .membership-card.membership-card--white:hover {
        transform: scale(1.02);
    }


.membership-card-title,
.membership-card-sub {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.65);
}

<style >
.booking-alert-modal {
    max-width: 900px;
}

.booking-alert-modal .modal-content {
    max-height: 90vh;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.booking-alert-modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    padding-bottom: 1rem;
}

.booking-alert-modal-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 2;
    border-top: 1px solid #dee2e6;
}

.review-dev-hidden {
    display: none !important;
}

@@media (max-width: 767.98px) {
    .booking-alert-modal {
        max-width: 100%;
        margin: 0.5rem;
    }

        .booking-alert-modal .modal-content {
            height: calc(100vh - 1rem);
            max-height: calc(100vh - 1rem);
            border-radius: 12px;
        }

        .booking-alert-modal .modal-body {
            padding-bottom: 5rem;
        }

    .booking-alert-modal-footer {
        padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
    }
}

</style >


.membership-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .membership-actions .btn-ribs {
        margin-left: auto; /* this is the “float right” in flex world */
    }

.layout-white {
    background: #fff !important;
}

    .layout-white .content-overlay {
        background: transparent;
    }

