.demo-guide-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(15, 23, 42, 0.46);
}

.demo-guide-highlight {
    position: relative;
    z-index: 2060 !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.28), 0 10px 32px rgba(15, 23, 42, 0.26) !important;
    border-radius: 8px;
}

.demo-guide-popover {
    position: fixed;
    z-index: 2070;
    width: min(360px, calc(100vw - 24px));
    border: 1px solid #d7e1ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.demo-guide-popover--center {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
}

.demo-guide-popover--fixed-bottom {
    max-height: calc(100vh - 28px);
}

.demo-guide-popover__body {
    padding: 18px;
}

.demo-guide-popover__eyebrow {
    color: #0d6efd;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.demo-guide-popover h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 8px;
}

.demo-guide-popover p {
    color: #5f6f80;
    line-height: 1.55;
    margin: 0;
}

.demo-guide-popover__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid #e5edf3;
    background: #f8fafc;
}

.demo-guide-popover__progress {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
}

.demo-guide-popover__actions {
    display: flex;
    gap: 8px;
}

.demo-guide-popover__actions .btn {
    border-radius: 8px;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .demo-guide-popover {
        left: 12px !important;
        right: 12px;
        bottom: 84px !important;
        top: auto !important;
        width: auto;
    }

    .demo-guide-popover--center {
        left: 12px !important;
        top: auto !important;
        transform: none;
    }

    .demo-guide-popover--fixed-bottom {
        max-height: calc(100vh - 108px);
    }
}
