/* Newfound Lake Inn - Cloudbeds booking button + booking page styles */

/* Primary "Book Now" button: white with dark-blue text, next to the dark-blue buttons. */
.BtnBook.BtnBookCb button,
.BtnBook.BtnBookCb .btn {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: darkblue !important;
    font-weight: 600;
}

    .BtnBook.BtnBookCb button:hover,
    .BtnBook.BtnBookCb button:focus-visible {
        background-color: #e6eaf7 !important;
        border-color: #e6eaf7 !important;
        color: darkblue !important;
    }

/* On the dark (scrolled) menu bar keep a thin outline so the white button reads clearly. */
.MenuNormal .BtnBook.BtnBookCb button {
    border-color: #ffffff !important;
}

.BtnBookGap {
    margin: 0 8px;
}

/* Waiting for the Cloudbeds overlay to open after the first click. */
html.nfli-book-loading,
html.nfli-book-loading * {
    cursor: progress !important;
}

/* Our hidden Cloudbeds trigger: the button is kept off-screen, the overlay itself renders normally. */
.nfli-cb-trigger {
    position: fixed !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Small screens: Gift Cards stays reachable from the hamburger menu. */
@media (max-width: 575.98px) {
    .BtnGiftWrap {
        display: none !important;
    }

    .BtnBookGap {
        margin: 0 6px 0 0;
    }

    .BtnBookCb button {
        white-space: nowrap;
    }
}

/* ---- /Book page ---- */
/* The site menu bar is in normal flow on this page, so no top offset is needed. */
.nfli-book-page {
    min-height: 80vh;
}

.nfli-book-fallback {
    max-width: 640px;
    margin: 40px auto;
    padding: 24px;
    text-align: center;
    font-family: Poppins, sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

    .nfli-book-fallback h2 {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 12px;
    }

/* ---- "Unable to open online booking" notice ---- */
.nfli-notice-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483000; /* above Cloudbeds overlays (max 1800) and the site menu */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.55);
}

.nfli-notice {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 32px 28px 28px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
    font-family: Poppins, sans-serif;
    color: #222;
}

    .nfli-notice h2 {
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 10px;
    }

    .nfli-notice p {
        font-size: 15px;
        margin: 0 0 22px;
        color: #555;
    }

.nfli-notice-x {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: #777;
    cursor: pointer;
}

    .nfli-notice-x:hover {
        color: #000;
    }

.nfli-notice-btn,
.nfli-book-fallback a.nfli-notice-btn {
    display: inline-block;
    padding: 10px 26px;
    background: darkblue;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

    .nfli-notice-btn:hover,
    .nfli-notice-btn:focus-visible {
        background: #6C757D;
        color: #fff;
    }
