.mgmt-shell .cr-notify{position:relative}


/* ===== SOURCE: chapresto-notifications.css ===== */

.cr-notify {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cr-notify-btn {
    position: relative;
    border: 0;
    border-radius: 999px;
    background: #fff7ed;
    color: #1f1b1c;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 1rem;
}

.cr-notify-btn span {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #dc2626;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 800;
}

.cr-notify-panel {
    position: absolute;
    top: 50px;
    right: 0;
    width: min(360px, calc(100vw - 24px));
    max-height: 460px;
    overflow: auto;
    background: white;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .16);
    z-index: 1000;
    padding: .75rem;
}

.cr-notify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .35rem .35rem .65rem;
}

.cr-notify-head button,
.cr-notify-item {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cr-notify-head button {
    color: #d95f19;
    font-weight: 800;
}

.cr-notify-item {
    width: 100%;
    text-align: left;
    display: grid;
    gap: .25rem;
    padding: .85rem;
    border-radius: 16px;
    background: #fff7ed;
    margin-bottom: .45rem;
}

.cr-notify-item.is-read {
    background: #f8f7f5;
    opacity: .78;
}

.cr-notify-item strong {
    color: #1f1b1c;
}

.cr-notify-item span,
.cr-notify-empty {
    color: #625a5c;
    font-size: .9rem;
}

.cr-notify-item small {
    color: #a44b18;
    font-weight: 700;
}

@media (max-width: 720px) {
    .cr-nav .cr-notify {
        display: none;
    }

    .cr-bottom-nav .cr-notify {
        justify-content: center;
    }

    .cr-bottom-nav .cr-notify-btn {
        width: 34px;
        height: 34px;
        background: transparent;
    }

    .cr-bottom-nav .cr-notify-panel {
        position: fixed;
        top: auto;
        left: 12px;
        right: 12px;
        bottom: 74px;
        width: auto;
    }
}

/* =========================================================
   ChapResto Notifications / Campaign Toast - Production UI
   ========================================================= */
.cr-notify-btn {
    display: inline-grid;
    place-items: center;
    background: #fff !important;
    color: #201a16 !important;
    border: 1px solid rgba(60, 42, 25, .10) !important;
    box-shadow: 0 8px 18px rgba(42, 30, 18, .07) !important;
}

.cr-notify-btn i {
    font-size: .98rem;
}

.cr-notify-panel {
    z-index: 99999 !important;
    padding: .7rem !important;
    border-radius: 24px !important;
}

.cr-notify-head div {
    display: grid;
    gap: .15rem;
}

.cr-notify-head small {
    color: #7a6f67;
    font-size: .75rem;
    font-weight: 750;
}

.cr-notify-item {
    position: relative;
    grid-template-columns: 8px minmax(0, 1fr);
    align-items: start;
    column-gap: .65rem;
    background: #fff7ed !important;
    border: 1px solid rgba(221, 100, 36, .14);
}

.cr-notify-item .cr-notify-dot {
    grid-row: 1 / span 3;
    width: 8px;
    height: 8px;
    margin-top: .32rem;
    border-radius: 999px;
    background: #ef6b24;
}

.cr-notify-item.is-read .cr-notify-dot {
    background: #d6d0c9;
}

.cr-notify-item strong,
.cr-notify-item span,
.cr-notify-item small {
    grid-column: 2;
}

.cr-campaign-toast-stack {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 99998;
    width: min(380px, calc(100vw - 24px));
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.cr-campaign-toast {
    pointer-events: auto;
    overflow: hidden;
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    min-height: 116px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(58, 38, 22, .10);
    box-shadow: 0 22px 60px rgba(35, 24, 14, .18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cr-campaign-toast.text-only {
    grid-template-columns: 1fr;
    min-height: 0;
}

.cr-campaign-toast-image {
    border: 0;
    background-color: #f8e7d1;
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

.cr-campaign-toast-body {
    position: relative;
    display: grid;
    gap: .25rem;
    align-content: center;
    padding: .85rem .95rem;
    color: #211b17;
}

.cr-campaign-toast-close {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(35, 27, 19, .07);
    color: #31241b;
}

.cr-campaign-toast small {
    width: max-content;
    padding: .22rem .5rem;
    border-radius: 999px;
    background: #fff1e7;
    color: #b64b15;
    font-size: .64rem;
    font-weight: 1000;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cr-campaign-toast strong {
    padding-right: 1.7rem;
    font-size: .98rem;
    line-height: 1.08;
    font-weight: 1000;
}

.cr-campaign-toast span {
    color: #655b53;
    font-size: .8rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cr-campaign-toast-action {
    width: max-content;
    margin-top: .25rem;
    min-height: 30px;
    padding: 0 .75rem;
    border: 0;
    border-radius: 999px;
    background: #ef6422;
    color: #fff;
    font-size: .78rem;
    font-weight: 950;
}

@media (max-width: 720px) {
    .cr-campaign-toast-stack {
        left: 10px;
        right: 10px;
        bottom: calc(78px + env(safe-area-inset-bottom));
        width: auto;
    }

    .cr-campaign-toast {
        grid-template-columns: 86px minmax(0, 1fr);
        min-height: 104px;
        border-radius: 20px;
    }

    .cr-campaign-toast.text-only {
        grid-template-columns: 1fr;
    }

    .cr-campaign-toast-body {
        padding: .72rem .8rem;
    }

    .cr-campaign-toast strong {
        font-size: .9rem;
    }

    .cr-campaign-toast span {
        font-size: .76rem;
    }
}


