/* Extracted from the PSFM Blade layout so browsers can cache these route-shared rules. */
.psfm-consent-banner,
    .psfm-consent-panel {
        position: fixed;
        z-index: 2147483000;
        color: #102033;
        background: #fff;
        border: 1px solid #d9e2ec;
        box-shadow: 0 18px 60px rgba(7, 23, 44, .2);
        font-family: inherit;
    }

    .psfm-consent-banner {
        inset-inline: max(16px, calc((100vw - 1120px) / 2));
        bottom: 18px;
        display: none;
        align-items: center;
        gap: 18px;
        padding: 18px;
        border-radius: 16px;
    }

    .psfm-consent-banner.is-visible {
        display: flex;
    }

    .psfm-consent-copy {
        flex: 1 1 520px;
        min-width: 0;
    }

    .psfm-consent-copy strong {
        display: block;
        margin-bottom: 5px;
        color: #07172c;
        font-size: 1rem;
    }

    .psfm-consent-copy p {
        margin: 0;
        color: #425466;
        font-size: .9rem;
        line-height: 1.55;
    }

    .psfm-consent-copy a,
    .psfm-consent-text-button {
        color: #9f1117;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .psfm-consent-actions {
        display: flex;
        flex: 0 0 auto;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }

    .psfm-consent-button,
    .psfm-consent-text-button {
        min-height: 42px;
        border-radius: 9px;
        font: inherit;
        font-size: .86rem;
        font-weight: 800;
        cursor: pointer;
    }

    .psfm-consent-button {
        padding: 9px 14px;
        border: 1px solid #102033;
        color: #102033;
        background: #fff;
    }

    .psfm-consent-button.is-primary {
        border-color: #d71920;
        color: #fff;
        background: #d71920;
    }

    .psfm-consent-text-button {
        padding: 6px;
        border: 0;
        background: transparent;
    }

    .psfm-consent-backdrop {
        position: fixed;
        z-index: 2147483001;
        inset: 0;
        display: none;
        background: rgba(7, 23, 44, .58);
    }

    .psfm-consent-backdrop.is-visible {
        display: block;
    }

    .psfm-consent-panel {
        top: 50%;
        left: 50%;
        width: min(620px, calc(100vw - 32px));
        max-height: calc(100vh - 32px);
        padding: 22px;
        overflow-y: auto;
        border-radius: 16px;
        transform: translate(-50%, -50%);
    }

    .psfm-consent-panel h2 {
        margin: 0 0 8px;
        color: #07172c;
        font-size: 1.35rem;
    }

    .psfm-consent-panel > p {
        margin: 0 0 16px;
        color: #526273;
        line-height: 1.55;
    }

    .psfm-consent-option {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px 18px;
        padding: 14px 0;
        border-top: 1px solid #e5ebf1;
    }

    .psfm-consent-option strong {
        color: #102033;
    }

    .psfm-consent-option p {
        grid-column: 1;
        margin: 0;
        color: #5b6978;
        font-size: .86rem;
        line-height: 1.45;
    }

    .psfm-consent-option input {
        width: 22px;
        height: 22px;
        accent-color: #d71920;
    }

    .psfm-consent-panel-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 16px;
    }

    .psfm-external-media-placeholder {
        display: grid;
        min-height: 280px;
        place-items: center;
        padding: 24px;
        border: 1px solid #d9e2ec;
        border-radius: 12px;
        color: #425466;
        background: #f5f8fb;
        text-align: center;
    }

    .psfm-external-media-placeholder p {
        margin: 0 0 12px;
    }

    @media (max-width: 767.98px) {
        .psfm-consent-banner {
            inset-inline: 10px;
            bottom: calc(86px + env(safe-area-inset-bottom, 0px));
            display: none;
            max-height: calc(100vh - 112px);
            padding: 14px;
            overflow-y: auto;
        }

        .psfm-consent-banner.is-visible {
            display: block;
        }

        .psfm-consent-actions {
            display: grid;
            grid-template-columns: 1fr;
            margin-top: 12px;
        }

        .psfm-consent-button,
        .psfm-consent-text-button {
            width: 100%;
        }

        .psfm-consent-panel {
            padding: 18px;
        }
    }

    html[dir="rtl"] .psfm-consent-banner,
    html[dir="rtl"] .psfm-consent-panel {
        direction: rtl;
        text-align: right;
    }

