/* Live Operations Widget */
.live-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    z-index: 1000;
    pointer-events: none;
    /* Let clicks pass through, enable on cards */
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.live-card {
    background: rgba(11, 28, 45, 0.85);
    /* Dark blue bg */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    pointer-events: auto;

    /* Animation */
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}

.live-card.high-priority {
    border-left-color: var(--accent-green);
    /* Teal/Aqua */
    background: rgba(11, 28, 45, 0.9);
    box-shadow: 0 4px 25px rgba(29, 233, 182, 0.15);
}

.live-card.alert {
    border-left-color: #ff3366;
}

.live-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.live-title {
    font-weight: 500;
    line-height: 1.4;
}

.live-icon {
    margin-right: 6px;
    display: inline-block;
}

.live-time {
    color: var(--accent-cyan);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
        margin-top: -60px;
        /* Collapse space */
    }
}

.live-card.removing {
    animation: fadeOut 0.5s forwards;
}

/* Mobile specific */
@media (max-width: 768px) {
    .live-widget-container {
        bottom: 20px;
        right: 20px;
        width: 280px;
    }

    .live-widget-toggle {
        display: none;
        /* Can implement expand/collapse later if needed */
    }
}