/* ================= SALES MODES STYLES ================= */

/* --- Narrative Block --- */
.narrative-block {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 185, 129, 0.95);
    /* Default green success/info */
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 30px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    z-index: 400;
    /* Below hover card but above UI base */
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    pointer-events: none;
    /* Let clicks pass through if needed */
    opacity: 0;
    animation: slideDownFade 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.narrative-block.high {
    background: rgba(239, 68, 68, 0.95);
    /* Red/Orange for urgency */
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.narrative-block.medium {
    background: rgba(245, 158, 11, 0.95);
    /* Amber/Yellow */
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    color: #000;
}

.narrative-block .narrative-highlight {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes slideDownFade {
    from {
        transform: translate(-50%, -20px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* --- Mode: Fechamento (Cleaning up UI) --- */
body[data-mode="fechamento"] .filter-bar,
body[data-mode="fechamento"] .panel-header-fixed {
    /* Hide distractions in closing mode */
    /* We might want to keep the header but hide complex filters */
}

body[data-mode="fechamento"] .filter-bar {
    display: none !important;
}

/* --- Manager Features in Hotspot List --- */
.hotspot-item.hidden-from-client {
    border-left: 3px solid #6366f1;
    /* Indigo indicator for hidden items */
    background: rgba(99, 102, 241, 0.1);
}

.hotspot-item.hidden-from-client .hotspot-name {
    opacity: 0.7;
}

.hotspot-item.hidden-from-client::after {
    content: '👁️ Oculto';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    background: #6366f1;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

/* --- Manager Toggle in Edit Panel --- */
.manager-only-control {
    display: none;
    border: 1px dashed #6366f1;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    background: rgba(99, 102, 241, 0.05);
}

body[data-role="manager"] .manager-only-control {
    display: block;
}

.manager-label {
    color: #6366f1;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}