/* #TATARR Push — prompt subscribe (glass, light/dark adaptiv) */
.tatarr-push-prompt {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    width: min(640px, calc(100% - 24px));
    z-index: 99998;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15,18,25,.72);
    border: 1px solid rgba(200,215,240,0.22);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 50px -14px rgba(0,0,0,.6);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    font-family: "Manrope", system-ui, sans-serif;
    color: #EEF2F8;
}
.tatarr-push-prompt.show {
    opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.tatarr-push-prompt .tpp-icon { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; box-shadow: 0 4px 12px -4px rgba(0,0,0,.5); }
.tatarr-push-prompt .tpp-text { flex: 1; min-width: 0; }
.tatarr-push-prompt .tpp-text strong { display: block; font-weight: 600; font-size: 13px; color: #EEF2F8; }
.tatarr-push-prompt .tpp-text span {
    display: block;
    font-size: 11px;
    color: rgba(238,242,248,.72);
    line-height: 1.3;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 600px) {
    .tatarr-push-prompt .tpp-text span { white-space: normal; }
}
.tatarr-push-prompt .tpp-btn {
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
}
.tatarr-push-prompt .tpp-yes {
    background: linear-gradient(135deg, #4F5867 0%, #6B7585 18%, #95A0B0 38%, #BFC8D5 50%, #95A0B0 62%, #6B7585 82%, #4F5867 100%);
    color: #fff; border: 1px solid rgba(255,255,255,.22);
    padding: 7px 14px; border-radius: 999px;
    font-size: 11.5px; font-weight: 600;
    text-shadow: 0 1px 2px rgba(20,24,32,.45);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 10px -4px rgba(60,70,85,.4);
}
.tatarr-push-prompt .tpp-no {
    background: transparent; border: none;
    color: rgba(238,242,248,.5); font-size: 22px; padding: 2px 4px; line-height: 1;
}
.tatarr-push-prompt .tpp-no:hover { color: #EEF2F8; }

/* LIGHT */
html[data-theme="light"] .tatarr-push-prompt {
    background: rgba(245,248,253,.88);
    border-color: rgba(20,24,32,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 20px 50px -14px rgba(80,95,120,.30);
    color: #0F141C;
}
html[data-theme="light"] .tatarr-push-prompt .tpp-text strong { color: #0F141C; }
html[data-theme="light"] .tatarr-push-prompt .tpp-text span   { color: rgba(15,20,28,.78); }
html[data-theme="light"] .tatarr-push-prompt .tpp-no          { color: rgba(15,20,28,.5); }
html[data-theme="light"] .tatarr-push-prompt .tpp-no:hover    { color: #0F141C; }
html[data-theme="light"] .tatarr-push-prompt .tpp-yes {
    border-color: rgba(20,24,32,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 16px -6px rgba(60,75,100,.55);
}

/* Buton manual shortcode [tatarr_push_button] */
.tatarr-push-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tatarr-push-btn--primary {
    background: linear-gradient(135deg, #4F5867 0%, #6B7585 18%, #95A0B0 38%, #BFC8D5 50%, #95A0B0 62%, #6B7585 82%, #4F5867 100%);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.22);
    text-shadow: 0 1px 2px rgba(20,24,32,.45);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 10px -4px rgba(60,70,85,.4);
}
.tatarr-push-btn--ghost {
    background: transparent;
    color: #C8D0DC;
    border: 1px solid rgba(200,215,240,0.30);
}
html[data-theme="light"] .tatarr-push-btn--ghost { color: #3A4252; border-color: rgba(20,24,32,.22); }
.tatarr-push-btn:hover { transform: translateY(-2px); }
.tatarr-push-btn-icon { font-size: 16px; line-height: 1; }

/* Bell 🔔 in nav, langa theme-toggle (default) */
.tatarr-push-bell {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--glass-border, rgba(200,215,240,0.22));
    color: var(--ink, #EEF2F8);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
    font-family: inherit;
    margin-right: 8px;
    flex-shrink: 0;
}
.tatarr-push-bell:hover {
    background: var(--glass-bg, rgba(230,240,255,0.05));
    border-color: var(--glass-border-strong, rgba(220,235,255,0.42));
}
.tatarr-push-bell:active { transform: scale(0.94); }
.tatarr-push-bell-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(200,215,240,0.55);
    animation: tatarr-bell-pulse 2.2s infinite;
    pointer-events: none;
}
@keyframes tatarr-bell-pulse {
    0%   { transform: scale(1);   opacity: .8; }
    100% { transform: scale(1.4); opacity: 0; }
}
/* Punctul verde (indicator abonat) — ascuns implicit, vizibil cand abonat */
.tatarr-push-bell-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #36C26B;
    border: 1.5px solid #0A0D14;
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
}
html[data-theme="light"] .tatarr-push-bell-dot { border-color: #F0F4FA; }
.tatarr-push-bell--subscribed .tatarr-push-bell-dot { opacity: 1; }
.tatarr-push-bell--subscribed .tatarr-push-bell-pulse,
.tatarr-push-bell--quiet .tatarr-push-bell-pulse { display: none; }

/* Mini-popover dezactivare */
.tatarr-push-menu {
    background: rgba(15,18,25,.92);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(200,215,240,0.22);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 16px 36px -10px rgba(0,0,0,.55);
    padding: 12px;
    min-width: 200px;
    color: #EEF2F8;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 12px;
    z-index: 99996;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tatarr-push-menu.show { opacity: 1; transform: translateY(0); }
.tatarr-push-menu .tpm-title { font-weight: 600; font-size: 11.5px; letter-spacing: 0.02em; margin-bottom: 2px; }
.tatarr-push-menu .tpm-btn {
    background: transparent;
    border: 1px solid rgba(200,215,240,0.22);
    color: #EEF2F8;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11.5px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    font-family: inherit;
}
.tatarr-push-menu .tpm-btn:hover { background: rgba(230,240,255,0.05); border-color: rgba(220,235,255,0.42); }
.tatarr-push-menu .tpm-off { color: #FF8B8B; border-color: rgba(255,90,90,0.32); }
.tatarr-push-menu .tpm-off:hover { background: rgba(255,90,90,0.08); border-color: rgba(255,90,90,0.55); }

html[data-theme="light"] .tatarr-push-menu {
    background: rgba(255,255,255,.94);
    border-color: rgba(20,24,32,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 16px 36px -10px rgba(60,75,100,.35);
    color: #0F141C;
}
html[data-theme="light"] .tatarr-push-menu .tpm-btn { color: #0F141C; border-color: rgba(20,24,32,.20); }
html[data-theme="light"] .tatarr-push-menu .tpm-off { color: #B91C1C; border-color: rgba(185,28,28,0.32); }
html[data-theme="light"] .tatarr-push-bell {
    color: #0F141C;
    border-color: rgba(20,24,32,.18);
}
html[data-theme="light"] .tatarr-push-bell:hover {
    background: rgba(20,24,32,.05);
    border-color: rgba(20,24,32,.32);
}
html[data-theme="light"] .tatarr-push-bell-pulse { border-color: rgba(60,75,100,0.45); }

/* Variant flotant — fallback cand .theme-toggle lipseste din DOM */
.tatarr-push-bell--floating {
    position: fixed;
    right: 14px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    margin-right: 0;
    background: linear-gradient(135deg, #4F5867 0%, #6B7585 18%, #95A0B0 38%, #BFC8D5 50%, #95A0B0 62%, #6B7585 82%, #4F5867 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    font-size: 22px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 28px -10px rgba(0,0,0,.6);
    z-index: 99997;
}
@media (max-width: 600px) {
    .tatarr-push-bell--floating { right: 12px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; font-size: 20px; }
}

