/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-znd1xuuyuj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-znd1xuuyuj] {
    flex: 1;
}

.sidebar[b-znd1xuuyuj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-znd1xuuyuj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-znd1xuuyuj]  a, .top-row[b-znd1xuuyuj]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-znd1xuuyuj]  a:hover, .top-row[b-znd1xuuyuj]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-znd1xuuyuj]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-znd1xuuyuj] {
        justify-content: space-between;
    }

    .top-row[b-znd1xuuyuj]  a, .top-row[b-znd1xuuyuj]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-znd1xuuyuj] {
        flex-direction: row;
    }

    .sidebar[b-znd1xuuyuj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-znd1xuuyuj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-znd1xuuyuj]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-znd1xuuyuj], article[b-znd1xuuyuj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-znd1xuuyuj] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-znd1xuuyuj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Campaign.razor.rz.scp.css */
/* ── TOKEN CHIP PICKER ───────────────────────────────────────── */
.token-picker-chips[b-qlnebfy6se] {
    display   : flex;
    flex-wrap : wrap;
    gap       : .35rem;
    padding   : .5rem .6rem;
}

.token-chip[b-qlnebfy6se] {
    background    : #fff;
    border        : 1px solid #a0b4d8;
    border-radius : 4px;
    padding       : .2rem .6rem;
    font-size     : .78rem;
    font-family   : monospace;
    color         : #2a4a8a;
    cursor        : pointer;
    transition    : background .15s, color .15s, border-color .15s;
}

.token-chip:hover:not(:disabled)[b-qlnebfy6se] {
    background   : #2a4a8a;
    color        : #fff;
    border-color : #2a4a8a;
}

.token-chip:disabled[b-qlnebfy6se] {
    opacity : .45;
    cursor  : not-allowed;
}

/* Token already present in the active message */
.token-chip-active[b-qlnebfy6se] {
    background   : rgba(249, 115, 22, .12);
    border-color : #F97316;
    color        : #9A3412;
    font-weight  : 700;
}

.token-chip-active:hover:not(:disabled)[b-qlnebfy6se] {
    background   : rgba(249, 115, 22, .22);
    border-color : #EA580C;
    color        : #7C2D12;
}
/* /Components/Pages/Offers.razor.rz.scp.css */
.token-picker-panel[b-evrfxa14nf] {
    background    : #f0f4ff;
    border        : 1px solid #c8d5ee;
    border-radius : 6px;
    padding       : .6rem .75rem;
    margin-bottom : .75rem;
}

.token-picker-label[b-evrfxa14nf] {
    font-size   : .75rem;
    font-weight : 600;
    color       : #555;
    margin-bottom: .45rem;
}

.token-picker-chips[b-evrfxa14nf] {
    display   : flex;
    flex-wrap : wrap;
    gap       : .35rem;
}

.token-chip[b-evrfxa14nf] {
    background    : #fff;
    border        : 1px solid #a0b4d8;
    border-radius : 4px;
    padding       : .2rem .6rem;
    font-size     : .78rem;
    font-family   : monospace;
    color         : #2a4a8a;
    cursor        : pointer;
    transition    : background .15s, color .15s, border-color .15s;
}

.token-chip:hover[b-evrfxa14nf] {
    background   : #2a4a8a;
    color        : #fff;
    border-color : #2a4a8a;
}

/* ── ACTIVE CHIP (token already present in URL) ─────────────── */
.token-chip-active[b-evrfxa14nf] {
    background   : rgba(249, 115, 22, .12);
    border-color : #F97316;
    color        : #9A3412;
    font-weight  : 700;
}

.token-chip-active:hover[b-evrfxa14nf] {
    background   : rgba(249, 115, 22, .22);
    border-color : #EA580C;
    color        : #7C2D12;
}

/* ── OFFER URL HIGHLIGHT BACKDROP ───────────────────────────── */

/* Wrapper gives the absolute-positioned backdrop something to fill */
.url-highlight-wrapper[b-evrfxa14nf] {
    position : relative;
    width    : 100%;
}

/*
 * The backdrop is an invisible clone of the textarea content.
 * Only the <mark> backgrounds are visible; all text is transparent.
 * Padding/font/line-height MUST match .form-textarea exactly.
 */
.url-highlight-backdrop[b-evrfxa14nf] {
    position      : absolute;
    top           : 0;
    left          : 0;
    right         : 0;
    bottom        : 0;
    padding       : .5rem .75rem;           /* == .form-textarea */
    font-family   : 'Consolas', monospace;  /* == .form-textarea */
    font-size     : .825rem;                /* == .form-textarea */
    line-height   : 1.6;                    /* == .form-textarea */
    white-space   : pre-wrap;
    word-wrap     : break-word;
    overflow      : hidden;
    pointer-events: none;
    color         : transparent;
    border        : 1px solid transparent;  /* keeps box model identical */
    border-radius : 6px;
    box-sizing    : border-box;
    z-index       : 0;
}

/* The textarea sits on top; its background is transparent so the
   backdrop highlights bleed through underneath the typed text. */
.url-highlight-textarea[b-evrfxa14nf] {
    background  : transparent !important;
    position    : relative;
    z-index     : 1;
    color       : #374151;
    caret-color : #374151;
}

/* Orange tint shown behind {{token}} text in the textarea */
.url-token-mark[b-evrfxa14nf] {
    background    : rgba(249, 115, 22, .22);
    border-radius : 3px;
    color         : transparent; /* text hidden; only background shows */
}

/* ── TABLE URL TOKEN HIGHLIGHT ───────────────────────────────­ */
.token-highlight[b-evrfxa14nf] {
    background    : rgba(249, 115, 22, .15);
    color         : #9A3412;
    border-radius : 3px;
    padding       : 0 2px;
    font-family   : 'Consolas', monospace;
    font-size     : .8em;
    font-weight   : 600;
}
