/* =======================================================================
   ZOL — Impersonation banner (loaded on shop UI)
   ======================================================================= */

.impersonation-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--accent, #D7823D);
    color: #fff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.impersonation-banner[hidden] { display: none !important; }
.impersonation-banner .ib-message {
    flex: 1;
    line-height: 1.3;
}
.impersonation-banner .ib-message strong { display: inline-block; margin-right: 4px; }
.impersonation-banner button {
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    flex-shrink: 0;
}
.impersonation-banner button:hover { background: rgba(0, 0, 0, 0.3); }

body.is-impersonating {
    padding-top: 50px;
}

/* On scanner page (full-screen camera), banner should still show but
   slightly more transparent so the camera is visible behind it */
.scanner-page + .impersonation-banner {
    background: rgba(215, 130, 61, 0.92);
}
