
/* ===== Base & Typography ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f9fafb;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== Navbar ===== */
.btp-navbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}

    .btp-navbar .brand-name {
        font-size: 22px;
        font-weight: 800;
        color: #1e3a5f;
        text-decoration: none;
    }

/* ===== Property Title ===== */
.property-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

/* ===== Image Gallery (primary_page style) ===== */
.gallery-section {
    padding-top: 32px;
}

.gallery-grid {
    position: relative;
}

    .gallery-grid > .row {
        --bs-gutter-x: 8px;
        --bs-gutter-y: 8px;
    }

    .gallery-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 12px;
    }

    /* Left main image column */
    .gallery-grid .main-img-col {
        height: 420px;
    }

        .gallery-grid .main-img-col img {
            height: 100%;
        }

    /* Right side: 2x2 grid with equal-height rows */
    .gallery-grid .small-imgs-col {
        height: 420px;
        overflow: hidden;
    }

        .gallery-grid .small-imgs-col > .row {
            height: 100%;
            --bs-gutter-y: 8px;
        }

        .gallery-grid .small-imgs-col .small-img-wrapper {
            height: calc(50% - 4px);
        }

            .gallery-grid .small-imgs-col .small-img-wrapper img {
                height: 100%;
                object-fit: cover;
            }

/* View All button: pinned to bottom-right corner of the gallery grid */
.view-all-img {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 2;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    width: auto;
}

    .view-all-img a {
        text-decoration: none;
        display: flex;
        gap: 8px;
        align-items: center;
        color: #525252;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
    }

    .view-all-img:hover {
        background: #f3f4f6;
    }

/* ===== Mobile: sm and below (< 768px) ===== */
@media (max-width: 767.98px) {
    /* Gallery */
    .gallery-section {
        padding-top: 16px;
    }

    .gallery-grid .main-img-col {
        height: 220px;
    }

    .gallery-grid .small-imgs-col {
        height: auto;
    }

        .gallery-grid .small-imgs-col .small-img-wrapper {
            height: auto;
        }

            .gallery-grid .small-imgs-col .small-img-wrapper img {
                height: 80px;
                object-fit: cover;
            }

    /* Navbar stacking on mobile */
    .btp-navbar .container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px;
    }

        .btp-navbar .container p {
            font-size: 20px !important;
        }

    /* Upgrade banner */
    .upgrade-banner {
        padding: 24px 0 !important;
    }

        .upgrade-banner h2 {
            font-size: 24px !important;
        }

        .upgrade-banner .fa-arrow-circle-up {
            font-size: 48px !important;
        }

    /* No-image placeholder reduced height */
    .no-image-placeholder {
        min-height: 200px !important;
    }

    /* Section cards tighter padding */
    .section-card .section-body {
        padding: 16px;
    }

    /* Agent card tighter padding */
    .agent-card {
        padding: 16px;
    }

    /* Docs card tighter padding */
    .docs-card {
        padding: 16px;
    }

    /* Map & video iframes reduced height */
    .map-container iframe {
        min-height: 220px;
    }

    /* Countdown container full width */
    #countdown-container {
        width: 100%;
    }

    /* Footer no-wrap fix */
    .btp-footer p {
        white-space: normal !important;
    }

    /* Lightbox nav buttons smaller */
    .lightbox-nav {
        font-size: 22px;
        padding: 6px 12px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    /* View count badge */
    #view-count-badge {
        bottom: 8px !important;
        left: 8px !important;
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}

/* ===== Section Card ===== */
.section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-top: 16px;
    overflow: hidden;
}

    .section-card .section-body {
        padding: 24px;
        font-size: 14px;
        color: #525252;
        line-height: 1.6;
    }

/* ===== Description List (SampleLayout style) ===== */
.description-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

    .description-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
        font-size: 14px;
        color: #525252;
    }

        .description-list li i {
            width: 20px;
            color: #6b7280;
            text-align: center;
        }

        .description-list li span {
            font-weight: 600;
            color: #111827;
        }

/* ===== Divider ===== */
.section-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

/* ===== Alert Banner (SampleLayout style) ===== */
.alert-banner {
    background: #eff6ff;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

    .alert-banner i {
        color: #2563eb;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .alert-banner p {
        margin: 0;
        font-size: 14px;
        font-weight: 700;
        color: #111827;
    }

.alert-banner-gray {
    background: #f3f4f6;
}

    .alert-banner-gray p {
        font-weight: 400;
        color: #525252;
    }

/* ===== Contact Form ===== */
.contact-form .form-control {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #d1d5db;
}

    .contact-form .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-primary-custom {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    font-size: 15px;
}

    .btn-primary-custom:hover {
        background: #1d4ed8;
        color: #fff;
    }

/* ===== FAQ Accordion ===== */
.faq-accordion .accordion-button {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    background: transparent;
    padding: 12px 0;
    box-shadow: none;
}

    .faq-accordion .accordion-button:not(.collapsed) {
        background: transparent;
        color: #2563eb;
    }

    .faq-accordion .accordion-button::after {
        width: 16px;
        height: 16px;
        background-size: 16px;
    }

.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #f3f4f6;
}

.faq-accordion .accordion-body {
    padding: 0 0 12px 0;
    font-size: 14px;
    color: #525252;
}

/* ===== Agent Card ===== */
.agent-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    height: auto;
}

    .agent-card .card-heading {
        font-size: 20px;
        font-weight: 700;
        color: #111827;
        margin: 0 0 16px;
    }

    .agent-card .agent-header {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .agent-card .agent-avatar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 3px solid #eff6ff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .agent-card .agent-avatar-placeholder {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .agent-card .agent-avatar-placeholder i {
            color: #6b7280;
            font-size: 24px;
        }

    .agent-card .agent-name {
        font-size: 17px;
        font-weight: 700;
        color: #111827;
        line-height: 1.3;
    }

    .agent-card .agent-company {
        font-size: 14px;
        color: #525252;
        line-height: 1.4;
    }

    .agent-card .agent-license {
        font-size: 12px;
        color: #9ca3af;
        line-height: 1.4;
    }

    .agent-card .contact-divider {
        border: none;
        border-top: 1px solid #f3f4f6;
        margin: 16px 0 12px;
    }

    .agent-card .contact-title {
        font-size: 11px;
        font-weight: 700;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0 0 10px;
    }

    .agent-card .contact-line {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 14px;
        color: #525252;
        padding: 5px 0;
    }

        .agent-card .contact-line .contact-icon {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: #eff6ff;
            color: #2563eb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            flex-shrink: 0;
        }

        .agent-card .contact-line a {
            color: #374151;
            font-weight: 500;
            text-decoration: none;
            word-break: break-all;
        }

            .agent-card .contact-line a:hover {
                color: #2563eb;
            }

        .agent-card .contact-line i {
            text-align: center;
            flex-shrink: 0;
        }

/* ===== Documents Card ===== */
.docs-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
}

    .docs-card h3 {
        font-size: 20px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 16px;
    }

    .docs-card .doc-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
        text-decoration: none;
        color: #525252;
    }

        .docs-card .doc-item:last-child {
            border-bottom: none;
        }

        .docs-card .doc-item:hover {
            color: #2563eb;
        }

        .docs-card .doc-item i {
            font-size: 20px;
            color: #dc2626;
            flex-shrink: 0;
        }

        .docs-card .doc-item span {
            font-weight: 500;
            font-size: 14px;
            word-break: break-word;
        }

/* ===== Map ===== */
.map-container iframe {
    width: 100%;
    min-height: 350px;
    border-radius: 10px;
    border: 0;
}

/* ===== Video Container ===== */
.video-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

    .video-container video {
        width: 100%;
        display: block;
        border-radius: 10px;
    }

    .video-container .custom-play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 48px;
        color: #fff;
        background: rgba(0, 0, 0, 0.5);
        width: 72px;
        height: 72px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s;
    }

        .video-container .custom-play-button:hover {
            background: rgba(0, 0, 0, 0.7);
        }

        .video-container .custom-play-button.hide-button {
            display: none;
        }

/* ===== Footer ===== */
.btp-footer {
    background: #111827;
    color: #9ca3af;
    padding: 40px 0 24px;
    margin-top: 48px;
    font-size: 14px;
}

    .btp-footer a {
        color: #9ca3af;
        text-decoration: none;
        word-break: break-all;
    }

    .btp-footer .footer-terms a {
        color: #2563eb;
        text-decoration: none;
        word-break: break-all;
    }

        .btp-footer .footer-terms a:hover {
            color: #1d4ed8;
            text-decoration: underline;
        }

        .btp-footer a:hover {
            color: #fff;
        }

    .btp-footer h5 {
        color: #fff;
    }

/* ===== Photo Gallery Modal ===== */
.gallery-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

    .gallery-thumb:hover {
        transform: scale(1.03);
    }

    .gallery-thumb img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

/* ===== Photo Detail Modal (lightbox) ===== */
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 28px;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
}

    .lightbox-nav:hover {
        background: rgba(0,0,0,0.8);
    }

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-counter {
    text-align: center;
    color: #525252;
    font-size: 14px;
    margin-top: 12px;
}

/* ===== No Image Placeholder ===== */
.no-image-placeholder {
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border-radius: 12px;
}

    .no-image-placeholder i {
        font-size: 64px;
        color: #9ca3af;
    }

/* ===== Form Modals (shared) ===== */
#makeOfferModal .modal-content,
#contactAgentModal .modal-content,
#requestTourModal .modal-content,
#forcedRegModal .modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

#makeOfferModal .modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 24px;
}

#makeOfferModal .modal-body {
    padding: 24px;
}

#makeOfferModal .modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
}

.offer-path-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

    .offer-path-btn:hover {
        border-color: #2563eb;
        background: #eff6ff;
    }

    .offer-path-btn i {
        font-size: 24px;
        color: #2563eb;
    }

.offer-form-label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.offer-form-input {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    width: 100%;
    box-sizing: border-box;
}

    .offer-form-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        outline: none;
    }

.offer-confirmation {
    text-align: center;
    padding: 32px 16px;
}

    .offer-confirmation i {
        font-size: 56px;
        color: #16a34a;
        margin-bottom: 16px;
    }

    .offer-confirmation h4 {
        font-size: 20px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 8px;
    }

    .offer-confirmation p {
        font-size: 14px;
        color: #525252;
    }

.offer-alert {
    font-size: 13px;
    color: #525252;
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}

    .offer-alert i {
        color: #2563eb;
        margin-right: 6px;
    }

.offer-error {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 4px;
    display: none;
}

/* ===== Open House Registration Modal ===== */
.oh-modal .modal-dialog {
    max-width: 560px;
}

.oh-modal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.25);
}

/* Header */
.oh-header {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-bottom: none;
    padding: 18px 22px;
    align-items: center;
}

    .oh-header .btn-close {
        margin: 0 0 0 auto;
        opacity: 0.85;
    }

        .oh-header .btn-close:hover {
            opacity: 1;
        }

.oh-header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.oh-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.oh-header-text {
    min-width: 0;
}

    .oh-header-text .modal-title {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
        margin: 0;
    }

.oh-header-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 2px 0 0;
    line-height: 1.3;
}

/* Body */
.oh-body {
    padding: 0 22px 22px;
}

/* Property summary strip: full-bleed band directly under the header */
.oh-summary {
    margin: 0 -22px;
    padding: 18px 22px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.oh-summary-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.oh-summary-img {
    width: 112px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
}

.oh-summary-img-placeholder {
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: none;
}

.oh-summary-info {
    min-width: 0;
    flex: 1;
}

.oh-summary-address {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.oh-summary-city {
    font-size: 13.5px;
    color: #6b7280;
    margin: 2px 0 10px;
    line-height: 1.3;
}

.oh-summary-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.oh-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 12.5px;
    color: #525252;
    line-height: 1.2;
    white-space: nowrap;
}

    .oh-stat i {
        color: #f97316;
        font-size: 11px;
    }

    .oh-stat strong {
        color: #111827;
        font-weight: 700;
    }

/* Open house date pills (inside the summary strip) */
.oh-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.oh-date-pill {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

    .oh-date-pill i {
        margin-right: 6px;
        color: #ea580c;
    }

.oh-date-time {
    font-weight: 500;
}

/* Intro copy */
.oh-intro {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 18px 0 16px;
}

/* Form */
.oh-form .offer-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.oh-form .offer-form-input {
    font-size: 14px;
    padding: 10px 12px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .oh-form .offer-form-input:focus {
        border-color: #f97316;
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
    }

.oh-textarea {
    min-height: 60px;
    resize: vertical;
}

.oh-req {
    color: #dc3545;
}

.oh-optional {
    font-weight: 400;
    color: #9ca3af;
}

/* Consent */
.oh-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 14px;
}

    .oh-consent .form-check-input {
        flex-shrink: 0;
        margin: 2px 0 0;
        width: 17px;
        height: 17px;
        cursor: pointer;
    }

        .oh-consent .form-check-input:checked {
            background-color: #ea580c;
            border-color: #ea580c;
        }

        .oh-consent .form-check-input:focus {
            border-color: #f97316;
            box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
        }

    .oh-consent .form-check-label {
        font-size: 12.5px;
        color: #525252;
        line-height: 1.45;
        cursor: pointer;
    }

        .oh-consent .form-check-label a {
            color: #ea580c;
            font-weight: 600;
            text-decoration: none;
        }

            .oh-consent .form-check-label a:hover {
                text-decoration: underline;
            }

.oh-form-error {
    font-size: 13px;
    margin-top: 10px;
}

/* Submit button */
.oh-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 13px 16px;
    background: #ea580c;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

    .oh-submit-btn:hover {
        background: #c2410c;
        color: #fff;
    }

    .oh-submit-btn:active {
        transform: translateY(1px);
    }

    .oh-submit-btn:disabled {
        background: #fdba74;
        cursor: not-allowed;
        box-shadow: none;
    }

.oh-fineprint {
    font-size: 11.5px;
    color: #9ca3af;
    text-align: center;
    margin: 10px 0 0;
}

    .oh-fineprint i {
        margin-right: 4px;
    }

/* Confirmation */
.oh-confirmation {
    padding: 32px 8px 8px;
}

.oh-confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff7ed;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.oh-confirmation p {
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.55;
}

/* Mobile tweaks */
@media (max-width: 575.98px) {
    .oh-header {
        padding: 14px 16px;
    }

    .oh-header-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .oh-header-text .modal-title {
        font-size: 16px;
    }

    .oh-header-sub {
        display: none;
    }

    .oh-body {
        padding: 0 16px 16px;
    }

    .oh-summary {
        margin: 0 -16px;
        padding: 14px 16px;
    }

    .oh-summary-main {
        gap: 12px;
    }

    .oh-summary-img {
        width: 88px;
        height: 66px;
    }

    .oh-summary-address {
        font-size: 15.5px;
    }

    .oh-summary-city {
        margin-bottom: 8px;
    }

    .oh-date-pill {
        width: 100%;
        border-radius: 10px;
        justify-content: space-between;
    }
}

/* ===== Follow Property Modal (blue theme of the Open House modal) ===== */
.fp-modal .oh-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.fp-modal .oh-stat i {
    color: #2563eb;
}

.fp-modal .oh-form .offer-form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.fp-modal .oh-consent .form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

.fp-modal .oh-consent .form-check-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.fp-modal .oh-consent .form-check-label a {
    color: #2563eb;
}

.fp-modal .oh-submit-btn {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

    .fp-modal .oh-submit-btn:hover {
        background: #1d4ed8;
    }

    .fp-modal .oh-submit-btn:disabled {
        background: #93c5fd;
        box-shadow: none;
    }

.fp-modal .oh-confirm-icon {
    background: #eff6ff;
    color: #2563eb;
}

/* ===== Footer Terms ===== */
/* Preserve the exact spacing & line breaks the broker entered in the editor.
   Scoping to ".btp-footer .footer-terms-content p/div" (specificity 0,0,2,1)
   plus !important ensures this also wins over the mobile
   ".btp-footer p { white-space: normal !important; }" rule for any <p>/<div>
   the sanitizer allows inside the saved terms. */
.btp-footer .footer-terms-content,
.btp-footer .footer-terms-content p,
.btp-footer .footer-terms-content div {
    white-space: pre-wrap !important;
    word-wrap: break-word; /* still break long unbroken strings (e.g. URLs) */
}
