﻿.bb2026-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
    z-index: 99980;
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s ease;
}

    .bb2026-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

.bb2026-side-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99990;
    box-shadow: -18px 0 45px rgba(15, 23, 42, 0.22);
    border-radius: 24px 0 0 24px;
    transition: right 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .bb2026-side-drawer.is-open {
        right: 0;
    }

.bb2026-side-drawer-header,
.bb2026-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.bb2026-side-drawer-kicker {
    font-size: 11px;
    font-weight: 800;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}

.bb2026-side-drawer-header h3,
.bb2026-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: #111827;
}

    .bb2026-side-drawer-header h3 i,
    .bb2026-modal-header h3 i {
        color: #2563eb;
        margin-right: 6px;
    }

.bb2026-panel-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    color: #374151;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

    .bb2026-panel-close:hover {
        background: #eff6ff;
        color: #1d4ed8;
    }

.bb2026-side-drawer-body {
    flex: 1;
    overflow: hidden;
}

    .bb2026-side-drawer-body iframe {
        width: 100%;
        height: 100%;
        display: block;
    }

.bb2026-modal-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 680px;
    max-width: 92vw;
    height: 620px;
    max-height: 88vh;
    background: #ffffff;
    z-index: 99991;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
    transform: translate(-50%, -48%) scale(0.96);
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .bb2026-modal-panel.is-open {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%) scale(1);
    }

.bb2026-modal-body {
    flex: 1;
    overflow: hidden;
}

    .bb2026-modal-body iframe {
        width: 100%;
        height: 100%;
        display: block;
    }

body.bb2026-panel-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .bb2026-side-drawer {
        width: 92vw;
        border-radius: 22px 0 0 22px;
    }

    .bb2026-modal-panel {
        width: 94vw;
        height: 86vh;
        border-radius: 22px;
    }

    .bb2026-side-drawer-header,
    .bb2026-modal-header {
        padding: 16px;
    }

        .bb2026-side-drawer-header h3,
        .bb2026-modal-header h3 {
            font-size: 18px;
        }
}
