/* ===================================
   CUSTOM CONTEXT MENU
   =================================== */

.custom-context-menu {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px 0;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    z-index: 99999;
    min-width: 190px;
    font-family: 'Inter', 'Poppins', sans-serif;
    animation: contextMenuIn 0.12s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top left;
    user-select: none;
}

@keyframes contextMenuIn {
    from { opacity: 0; transform: scale(0.94) translateY(-6px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text, #1E293B);
    cursor: pointer;
    transition: background 0.1s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.context-menu-item:hover {
    background: var(--surface, #F8FAFC);
}

.context-menu-item.danger {
    color: var(--danger, #EF4444);
}

.context-menu-item.danger:hover {
    background: #FEF2F2;
}

.context-menu-icon {
    font-size: 0.875rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.context-menu-label {
    flex: 1;
}

.context-menu-separator {
    height: 1px;
    background: var(--border, #E2E8F0);
    margin: 4px 8px;
}
